Commit 7bf40741 by Andreas Schwab Committed by Jason Merrill

cplus-dem.c (gnu_special): Fix off-by-one bug when checking the length in the…

cplus-dem.c (gnu_special): Fix off-by-one bug when checking the length in the name of a virtual table.

	* cplus-dem.c (gnu_special): Fix off-by-one bug when checking the
	length in the name of a virtual table.

From-SVN: r19417
parent 965cec41
Sun Apr 26 15:38:50 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* cplus-dem.c (gnu_special): Fix off-by-one bug when checking the
length in the name of a virtual table.
Sun Apr 26 01:21:06 1998 Richard Henderson <rth@cygnus.com>
* alpha.c (print_operand): Don't add 'v' suffix for ALPHA_FPTM_N.
......
......@@ -2003,7 +2003,7 @@ gnu_special (work, mangled, declp)
".<digits>" indicating a static local symbol. In
any case, declare victory and move on; *don't* try
to use n to allocate. */
if (n >= strlen (*mangled))
if (n > strlen (*mangled))
{
success = 1;
break;
......
Sun Apr 26 15:38:50 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* cplus-dem.c (gnu_special): Fix off-by-one bug when checking the
length in the name of a virtual table.
Wed Apr 22 10:53:49 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
* cplus-dem.c (struct work stuff): Add field for B and K mangle codes.
......
......@@ -2003,7 +2003,7 @@ gnu_special (work, mangled, declp)
".<digits>" indicating a static local symbol. In
any case, declare victory and move on; *don't* try
to use n to allocate. */
if (n >= strlen (*mangled))
if (n > strlen (*mangled))
{
success = 1;
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment