diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2014-09-23 19:07:52 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2014-09-23 19:07:52 (GMT) |
commit | bc95beac3eca3cda55430e0cde97ba826d3d7400 (patch) | |
tree | 41d5d44b391d0ddbd6a0c69da71cde1809ba72f2 /src/util.cpp | |
parent | 24b5b715929759a7836a3813ef93976b7cc10641 (diff) | |
download | Doxygen-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.cpp | 2 |
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) |