* stabsread.c (read_huge_number): Don't accept '0' + radix as part
of number, just through '0' + radix - 1.
This commit is contained in:
parent
89da237fe9
commit
574a2a49b7
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Mon May 31 10:37:04 1993 Jim Kingdon (kingdon@cygnus.com)
|
||||
|
||||
* stabsread.c (read_huge_number): Don't accept '0' + radix as part
|
||||
of number, just through '0' + radix - 1.
|
||||
|
||||
Sun May 30 15:35:21 1993 Fred Fish (fnf@cygnus.com)
|
||||
|
||||
* Makefile.in (SER_HARDWIRE): Temporarily comment out ser-tcp.o.
|
||||
|
|
|
@ -3122,7 +3122,7 @@ read_huge_number (pp, end, bits)
|
|||
}
|
||||
|
||||
upper_limit = LONG_MAX / radix;
|
||||
while ((c = *p++) >= '0' && c <= ('0' + radix))
|
||||
while ((c = *p++) >= '0' && c < ('0' + radix))
|
||||
{
|
||||
if (n <= upper_limit)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue