Fix silent crash when libxml produced error. See RSXML commit #401f470ab00ab656843162e002e111331b001824

This commit is contained in:
relikd
2019-03-06 02:37:54 +01:00
parent b7df436a5d
commit 1071c55eef
3 changed files with 3 additions and 2 deletions

View File

@@ -1 +1 @@
github "relikd/RSXML" "e6caf2dad24d57de167aba476822ead7ea72d3b0"
github "relikd/RSXML" "401f470ab00ab656843162e002e111331b001824"

View File

@@ -229,6 +229,7 @@ static BOOL _nextUpdateIsForced = NO;
}
if (!error) { // metaBlock may set error
RSFeedParser *parser = [RSFeedParser parserWithXMLData:xml];
parser.dontStopOnLowerAsciiBytes = YES;
result = [parser parseSync:&error];
}
}

View File

@@ -32,7 +32,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>1037</string>
<string>1047</string>
<key>LSMinimumSystemVersion</key>
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
<key>LSUIElement</key>