Fix from Marcus Daniels:
* cplus-dem.c (demangle_fund_type): Don't run off the end of the identifier looking for another underscore. From-SVN: r26373
This commit is contained in:
parent
69d5914bd0
commit
92b0366412
1 changed files with 1 additions and 1 deletions
|
@ -3377,7 +3377,7 @@ demangle_fund_type (work, mangled, result)
|
|||
{
|
||||
int i;
|
||||
++(*mangled);
|
||||
for (i = 0; **mangled != '_'; ++(*mangled), ++i)
|
||||
for (i = 0; **mangled && **mangled != '_'; ++(*mangled), ++i)
|
||||
buf[i] = **mangled;
|
||||
buf[i] = '\0';
|
||||
++(*mangled);
|
||||
|
|
Loading…
Add table
Reference in a new issue