diff --git a/XADISO9660Parser.m b/XADISO9660Parser.m index 23f38c2e..f936c2b0 100644 --- a/XADISO9660Parser.m +++ b/XADISO9660Parser.m @@ -407,7 +407,7 @@ -(void)parseDirectoryWithPath:(XADPath *)path atBlock:(uint32_t)block if(flags&0x04) [dict setObject:[NSNumber numberWithBool:YES] forKey:XADIsDirectoryKey]; int systemlength=recordlength-33-namelength-((namelength&1)^1); - if(systemlength) + if(systemlength>0) { NSMutableData *namedata=nil; NSMutableData *linkdata=nil;