]> git.ipfire.org Git - ipfire-3.x.git/blame - doxygen/patches/doxygen-1.4.8-endless-loop.patch
clamav: Update to 0.101.4
[ipfire-3.x.git] / doxygen / patches / doxygen-1.4.8-endless-loop.patch
CommitLineData
fb24f570
SS
1commit 5e056236c9ef3b3675d014cab43480700027d60b
2Author: Dimitri van Heesch <dimitri@stack.nl>
3Date: Thu May 30 20:01:15 2013 +0200
4
5 Bug 701295 - Doxygen 1.8.4 goes into an endless loop
6
7diff --git a/src/util.cpp b/src/util.cpp
8index 0d70d43..0c36fc0 100644
9--- a/src/util.cpp
10+++ b/src/util.cpp
11@@ -1843,11 +1843,15 @@ int findParameterList(const QString &name)
12 ++templateDepth;
13 pos=nextOpenPos-1;
14 }
15- else
16+ else if (nextClosePos!=-1)
17 {
18 --templateDepth;
19 pos=nextClosePos-1;
20 }
21+ else // more >'s than <'s, see bug701295
22+ {
23+ return -1;
24+ }
25 }
26 else
27 {