Check lenght of string before trying to use parameters

This commit is contained in:
Ludovic Marcotte committed 2014-11-22 08:14:31 -05:00
1 parent efff32e44d
commit bb227443ed
1 file changed
+4
+4
View File
@@ -155,6 +155,10 @@ static NSArray *easCommandParameters = nil;
const char* qs_bytes;
queryString = [[components objectAtIndex: 0] dataByDecodingBase64];
if (![queryString length])
return nil;
qs_bytes = (const char*)[queryString bytes];
if (!easCommandCodes)