diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2014-09-23 19:04:45 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2014-09-23 19:04:45 (GMT) |
commit | 24b5b715929759a7836a3813ef93976b7cc10641 (patch) | |
tree | 438aa727f8d45ea539eaa1ebff9fe9d5f5a6e889 /src/util.cpp | |
parent | 23bc555e5483baa6c1a3d0c1ad346bb37348b31b (diff) | |
download | Doxygen-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/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 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)) |