This is the mail archive of the gdb-prs@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]

[Bug gdb/11092] c_printstr in c-lang.c length parameter can overflow


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2010-05-17 16:53 -------
Subject: Bug 11092

CVSROOT:	/cvs/src
Module name:	src
Changes by:	schwab@sourceware.org	2010-05-17 16:53:21

Modified files:
	gdb            : ChangeLog c-lang.c 

Log message:
	PR gdb/11092
	* c-lang.c (c_printstr): Compute real length of NUL terminated
	string at first.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.11811&r2=1.11812
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/c-lang.c.diff?cvsroot=src&r1=1.85&r2=1.86


------- Additional Comments From schwab at linux-m68k dot org  2010-05-17 16:54 -------
Fixed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


http://sourceware.org/bugzilla/show_bug.cgi?id=11092

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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