Skip to content

Commit

Permalink
Bug 736386 - [PATCH] Fix another potential null pointer dereference i…
Browse files Browse the repository at this point in the history
…n src/util.cpp
  • Loading branch information
Dimitri van Heesch committed Sep 23, 2014
1 parent 24b5b71 commit bc95bea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3669,7 +3669,7 @@ bool matchArguments2(Definition *srcScope,FileDef *srcFileScope,ArgumentList *sr
// all arguments.
ArgumentListIterator srcAli(*srcAl),dstAli(*dstAl);
Argument *srcA,*dstA;
for (;(srcA=srcAli.current(),dstA=dstAli.current());++srcAli,++dstAli)
for (;(srcA=srcAli.current()) && (dstA=dstAli.current());++srcAli,++dstAli)
{
if (!matchArgument2(srcScope,srcFileScope,srcA,
dstScope,dstFileScope,dstA)
Expand Down

0 comments on commit bc95bea

Please sign in to comment.