2008-10-23 Paul Pluzhnikov <ppluzhnikov@google.com>
* python/python-value (valpy_getitem): Fix heap corruption.
This commit is contained in:
parent
103fd00dc6
commit
3c0ed2996e
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2008-10-23 Paul Pluzhnikov <ppluzhnikov@google.com>
|
||||||
|
|
||||||
|
* python/python-value (valpy_getitem): Fix heap corruption.
|
||||||
|
|
||||||
2008-10-23 Aleksandar Ristovski <aristovski@qnx.com>
|
2008-10-23 Aleksandar Ristovski <aristovski@qnx.com>
|
||||||
|
|
||||||
* nto-procfs.c (do_attach): Form proper ptid including pid and tid.
|
* nto-procfs.c (do_attach): Form proper ptid including pid and tid.
|
||||||
|
|
|
@ -161,7 +161,8 @@ valpy_getitem (PyObject *self, PyObject *key)
|
||||||
|
|
||||||
TRY_CATCH (except, RETURN_MASK_ALL)
|
TRY_CATCH (except, RETURN_MASK_ALL)
|
||||||
{
|
{
|
||||||
res_val = value_struct_elt (&self_value->value, NULL, field, 0, NULL);
|
struct value *tmp = self_value->value;
|
||||||
|
res_val = value_struct_elt (&tmp, NULL, field, 0, NULL);
|
||||||
}
|
}
|
||||||
GDB_PY_HANDLE_EXCEPTION (except);
|
GDB_PY_HANDLE_EXCEPTION (except);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue