mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
patch by <abbas.raza.1707@gmail.com>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40066 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
fb8b9a7eb0
commit
7c5b9e3cd5
2 changed files with 12 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2016-08-30 Abbas Raza <abbas.raza.1707@gmail.com>
|
||||
|
||||
* Source/NSJSONSerialization.m: Generate NSError rather than raising
|
||||
exception if the trailing '"' in the dsocument is missing.
|
||||
|
||||
2016-08-28 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/GSMime.m: Fix typo which was causing premature termination of
|
||||
|
|
|
@ -409,6 +409,13 @@ parseString(ParserState *state)
|
|||
next = consumeChar(state);
|
||||
}
|
||||
|
||||
if (currentChar(state) != '"')
|
||||
{
|
||||
[val release];
|
||||
parseError(state);
|
||||
return nil;
|
||||
}
|
||||
|
||||
if (bufferIndex > 0)
|
||||
{
|
||||
NSMutableString *str;
|
||||
|
|
Loading…
Reference in a new issue