aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2014-03-17 19:02:13 +0000
committerPedro Alves <palves@redhat.com>2014-03-17 19:02:13 +0000
commit9c1fcd01cf4f222b7065af353cedc3f9701c739c (patch)
treecb364f30535f0a492c3155874076c11087648e91 /gdb/ChangeLog
parentc712f1e3f711d0f3b694cdfcf4a965d8419fde94 (diff)
downloadfsf-binutils-gdb-9c1fcd01cf4f222b7065af353cedc3f9701c739c.zip
fsf-binutils-gdb-9c1fcd01cf4f222b7065af353cedc3f9701c739c.tar.gz
fsf-binutils-gdb-9c1fcd01cf4f222b7065af353cedc3f9701c739c.tar.bz2
fix latent bugs in ui-out.c
The destructor code in ui-out.c has a latent bug, which is hidden by the fact that nothing uses this right now. This patch fixes the problem. The bug is that we don't always clear a pointer in the ui-out object, leading to a bad free. 2014-03-17 Tom Tromey <tromey@redhat.com> * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 4e62f0c..8b54b59 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2014-03-17 Tom Tromey <tromey@redhat.com>
+
+ * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
+
2014-03-17 Pierre-Marie de Rodat <derodat@adacore.com>
* ada-lang.c (decode_constrained_packed_array): Perform a