(fix) make sure found tag is always defined

pull/207/head
Ludovic Marcotte 2016-05-06 08:14:37 -04:00
parent 8aa452539a
commit 74602de1db
1 changed files with 1 additions and 1 deletions

View File

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