summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2014-09-23 19:04:45 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2014-09-23 19:04:45 (GMT)
commit24b5b715929759a7836a3813ef93976b7cc10641 (patch)
tree438aa727f8d45ea539eaa1ebff9fe9d5f5a6e889 /src
parent23bc555e5483baa6c1a3d0c1ad346bb37348b31b (diff)
downloadDoxygen-24b5b715929759a7836a3813ef93976b7cc10641.zip
Doxygen-24b5b715929759a7836a3813ef93976b7cc10641.tar.gz
Doxygen-24b5b715929759a7836a3813ef93976b7cc10641.tar.bz2
Bug 736385 - [PATCH] Fix potential null pointer dereference in src/util.cpp
Diffstat (limited to 'src')
-rw-r--r--src/util.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.cpp b/src/util.cpp
index 1de3349..79a7d04 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -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))