gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 3 Aug 2009 17:00:34 +0000 (17:00 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 3 Aug 2009 17:00:34 +0000 (17:00 +0000)
commit1ffa32eed68b02c79dfc3b5b113344ef62df7b83
treed7a286449e2ac6e4cdc93995b7d699c88d4473f9
parent004fb7809c1678fd59adf414497f6382e9344415
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.
gdb/ChangeLog
gdb/symfile.c