diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2009-08-03 17:00:34 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2009-08-03 17:00:34 +0000 |
commit | 1ffa32eed68b02c79dfc3b5b113344ef62df7b83 (patch) | |
tree | d7a286449e2ac6e4cdc93995b7d699c88d4473f9 /gdb/ChangeLog | |
parent | 004fb7809c1678fd59adf414497f6382e9344415 (diff) | |
download | gdb-1ffa32eed68b02c79dfc3b5b113344ef62df7b83.zip gdb-1ffa32eed68b02c79dfc3b5b113344ef62df7b83.tar.gz gdb-1ffa32eed68b02c79dfc3b5b113344ef62df7b83.tar.bz2 |
gdb/
Fix memory corruption on reread of file through a symbolic link.
* symfile.c (find_separate_debug_file): Initialize CANON_NAME earlier.
Allocate DEBUGFILE with length based on CANON_NAME. Free CANON_NAME on
all the return paths.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 4bc40b4..42c5a2d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,11 @@ +2009-08-03 Richard Guenther <rguenther@suse.de> + Jan Kratochvil <jan.kratochvil@redhat.com> + + Fix memory corruption on reread of file through a symbolic link. + * symfile.c (find_separate_debug_file): Initialize CANON_NAME earlier. + Allocate DEBUGFILE with length based on CANON_NAME. Free CANON_NAME on + all the return paths. + 2009-08-03 Jim Ingham <jingham@apple.com> Vladimir Prus <vladimir@codesourcery.com> |