mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Merge pull request #132 from niwatako/fix-exponent-validation-in-jsonserialization
Fix exponent validation in NSJSONSerialization Buce fix ... thanks.
This commit is contained in:
commit
50d1358028
1 changed files with 2 additions and 0 deletions
|
@ -513,6 +513,8 @@ parseNumber(ParserState *state)
|
|||
free(number);
|
||||
number = numberBuffer;
|
||||
}
|
||||
parseError(state);
|
||||
return nil;
|
||||
}
|
||||
BUFFER(c);
|
||||
while (isdigit(c = consumeChar(state)))
|
||||
|
|
Loading…
Reference in a new issue