2011-03-04 Michael Snyder <msnyder@vmware.com>
* stabsread.c (define_symbol): Guard against bad stabstring input.
This commit is contained in:
parent
959e74695a
commit
681c238c33
2 changed files with 10 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
2011-03-15 Michael Snyder <msnyder@vmware.com>
|
||||
|
||||
* stabsread.c (define_symbol): Guard against bad stabstring input.
|
||||
|
||||
2011-03-15 Pierre Muller <muller@ics.u-strasbg.fr>
|
||||
|
||||
Remove trailing spaces and tabulations from pascal language
|
||||
|
|
|
@ -636,6 +636,12 @@ define_symbol (CORE_ADDR valu, char *string, int desc, int type,
|
|||
{
|
||||
p += 2;
|
||||
p = strchr (p, ':');
|
||||
if (p == NULL)
|
||||
{
|
||||
complaint (&symfile_complaints,
|
||||
_("Bad stabs string '%s'"), string);
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
|
||||
/* If a nameless stab entry, all we need is the type, not the symbol.
|
||||
|
|
Loading…
Add table
Reference in a new issue