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:
Richard Frith-MacDonald 2016-08-30 13:20:34 +00:00
parent ead1505a3c
commit 08f141ad80
2 changed files with 12 additions and 0 deletions

View file

@ -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

View file

@ -409,6 +409,13 @@ parseString(ParserState *state)
next = consumeChar(state);
}
if (currentChar(state) != '"')
{
[val release];
parseError(state);
return nil;
}
if (bufferIndex > 0)
{
NSMutableString *str;