diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2015-08-04 13:40:44 +0200 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2015-08-04 13:42:25 +0200 |
commit | 978b9495b78054b76052a09064cae8c94a58b93e (patch) | |
tree | 23d9547042a3eff5552099f492cb85fa4e1567b6 /gdb/ChangeLog | |
parent | 9c98104c4c8f558176311dad055897c45b7d8032 (diff) | |
download | gdb-978b9495b78054b76052a09064cae8c94a58b93e.zip gdb-978b9495b78054b76052a09064cae8c94a58b93e.tar.gz gdb-978b9495b78054b76052a09064cae8c94a58b93e.tar.bz2 |
ASAN attach crash - 7.9 regression
-fsanitize=address
gdb.base/attach-pie-noexec.exp
==32586==ERROR: AddressSanitizer: heap-use-after-free on address 0x60200004ed90 at pc 0x48ad50 bp 0x7ffceb3aef50 sp 0x7ffceb3aef20
READ of size 2 at 0x60200004ed90 thread T0
#0 0x48ad4f in __interceptor_strlen (/home/jkratoch/redhat/gdb-test-asan/gdb/gdb+0x48ad4f)
#1 0xeafe5c in xstrdup xstrdup.c:33
#2 0x85e024 in attach_command /home/jkratoch/redhat/gdb-test-asan/gdb/infcmd.c:2680
regressed by:
commit 6c4486e63f7583ed85a0c72841f6ccceebbf858e
Author: Pedro Alves <palves@redhat.com>
Date: Fri Oct 17 13:31:26 2014 +0100
PR gdb/17471: Repeating a background command makes it foreground
gdb/ChangeLog
2015-08-04 Jan Kratochvil <jan.kratochvil@redhat.com>
PR gdb/18767
* infcmd.c (attach_command): Move ARGS_CHAIN cleanup after last ARGS
use.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5c51ae1..1062823 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2015-08-04 Jan Kratochvil <jan.kratochvil@redhat.com> + + PR gdb/18767 + * infcmd.c (attach_command): Move ARGS_CHAIN cleanup after last ARGS + use. + 2015-08-04 Pedro Alves <palves@redhat.com> * nat/gdb_thread_db.h (td_init_ftype, td_ta_new_ftype) |