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