This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb ChangeLog symfile.c
- From: jkratoch at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 3 Aug 2009 17:00:34 -0000
- Subject: src/gdb ChangeLog symfile.c
CVSROOT: /cvs/src
Module name: src
Changes by: jkratoch@sourceware.org 2009-08-03 17:00:34
Modified files:
gdb : ChangeLog symfile.c
Log message:
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.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.10776&r2=1.10777
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/symfile.c.diff?cvsroot=src&r1=1.239&r2=1.240