* python/python-value (valpy_getitem): Fix heap corruption.
+2008-10-23 Paul Pluzhnikov <ppluzhnikov@google.com>
+
+ * python/python-value (valpy_getitem): Fix heap corruption.
+
2008-10-23 Aleksandar Ristovski <aristovski@qnx.com>
* nto-procfs.c (do_attach): Form proper ptid including pid and tid.
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);