Buffer overrun: Fixed a segmentation fault

This commit is contained in:
Daniel Marjamäki 2008-11-18 19:59:50 +00:00
parent 8f3c688020
commit a8e1cd8920
1 changed files with 4 additions and 1 deletions

View File

@ -460,7 +460,10 @@ void CheckBufferOverrunClass::CheckBufferOverrun_StructVariable()
} }
tok3 = tok3->next; tok3 = tok3->next;
} }
if ( ! tok3 )
break;
if ( ! CheckTok ) if ( ! CheckTok )
continue; continue;