Check lenght of string before trying to use parameters

This commit is contained in:
Ludovic Marcotte
2014-11-22 08:14:31 -05:00
parent efff32e44d
commit bb227443ed

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)