Permalink
Browse files

Bug 736386 - [PATCH] Fix another potential null pointer dereference i…

…n src/util.cpp
  • Loading branch information...
Dimitri van Heesch
Dimitri van Heesch committed Sep 23, 2014
1 parent 24b5b71 commit bc95beac3eca3cda55430e0cde97ba826d3d7400
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/util.cpp
View
@@ -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)

0 comments on commit bc95bea

Please sign in to comment.