This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/11092] c_printstr in c-lang.c length parameter can overflow
- From: "schwab at linux-m68k dot org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 17 May 2010 16:54:54 -0000
- Subject: [Bug gdb/11092] c_printstr in c-lang.c length parameter can overflow
- References: <20091215144649.11092.pmuldoon@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- 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.