(fix) make sure found tag is always defined

This commit is contained in:
Ludovic Marcotte
2016-05-06 08:14:37 -04:00
parent 2fb2485b12
commit fbd2f1511b

View File

@@ -267,7 +267,7 @@ static NSData* _sanitizeContent(NSData *theData)
tags = [VoidTags objectEnumerator];
tag = [tags nextObject];
while (tag)
while (tag && found_tag)
{
if ([tag caseInsensitiveCompare: found_tag] == NSOrderedSame)
{