Commit 381009fe by Ben Elliston Committed by Ben Elliston

cp-demangle.c (cplus_demangle_type): Return NULL if the character following a…

cp-demangle.c (cplus_demangle_type): Return NULL if the character following a 'D' cannot be recognised.

	* cp-demangle.c (cplus_demangle_type): Return NULL if the
	character following a 'D' cannot be recognised.

From-SVN: r143098
parent 7b10257f
2009-01-06 Ben Elliston <bje@au.ibm.com>
* cp-demangle.c (cplus_demangle_type): Return NULL if the
character following a 'D' cannot be recognised.
2008-12-18 Jason Merrill <jason@redhat.com>
PR c++/38561
......
......@@ -2131,6 +2131,9 @@ cplus_demangle_type (struct d_info *di)
peek = d_next_char (di);
ret->u.s_fixed.sat = (peek == 's');
break;
default:
return NULL;
}
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