Permalink
Browse files

Bug 736385 - [PATCH] Fix potential null pointer dereference in src/ut…

…il.cpp
  • Loading branch information...
Dimitri van Heesch
Dimitri van Heesch committed Sep 23, 2014
1 parent 23bc555 commit 24b5b715929759a7836a3813ef93976b7cc10641
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/util.cpp
View
@@ -3236,7 +3236,7 @@ bool matchArguments(ArgumentList *srcAl,ArgumentList *dstAl,
// 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 (!matchArgument(srcA,dstA,className,namespaceName,
usingNamespaces,usingClasses))

0 comments on commit 24b5b71

Please sign in to comment.