This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

src/gdb ChangeLog procfs.c


CVSROOT:	/cvs/src
Module name:	src
Changes by:	brobecke@sourceware.org	2011-11-10 16:36:19

Modified files:
	gdb            : ChangeLog procfs.c 

Log message:
	[procfs] /proc/.../map file descriptor leak
	
	When opening the procfs map file, we create a cleanup routine to make
	sure that the associated file descriptor gets closed, but we never
	call the cleanup. So the FD gets leaked.
	
	gdb/ChangeLog:
	
	* procfs.c (iterate_over_mappings): Call do_cleanups before
	returning.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.13497&r2=1.13498
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/procfs.c.diff?cvsroot=src&r1=1.146&r2=1.147


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]