forked from pool/doxygen
Accepting request 181899 from home:k0da:ppc
- upstream patch to fix endless loop doxygen-1.4.8-endless-loop.patch OBS-URL: https://build.opensuse.org/request/show/181899 OBS-URL: https://build.opensuse.org/package/show/devel:tools/doxygen?expand=0&rev=65
This commit is contained in:
27
doxygen-1.4.8-endless-loop.patch
Normal file
27
doxygen-1.4.8-endless-loop.patch
Normal file
@@ -0,0 +1,27 @@
|
||||
commit 5e056236c9ef3b3675d014cab43480700027d60b
|
||||
Author: Dimitri van Heesch <dimitri@stack.nl>
|
||||
Date: Thu May 30 20:01:15 2013 +0200
|
||||
|
||||
Bug 701295 - Doxygen 1.8.4 goes into an endless loop
|
||||
|
||||
diff --git a/src/util.cpp b/src/util.cpp
|
||||
index 0d70d43..0c36fc0 100644
|
||||
--- a/src/util.cpp
|
||||
+++ b/src/util.cpp
|
||||
@@ -1843,11 +1843,15 @@ int findParameterList(const QString &name)
|
||||
++templateDepth;
|
||||
pos=nextOpenPos-1;
|
||||
}
|
||||
- else
|
||||
+ else if (nextClosePos!=-1)
|
||||
{
|
||||
--templateDepth;
|
||||
pos=nextClosePos-1;
|
||||
}
|
||||
+ else // more >'s than <'s, see bug701295
|
||||
+ {
|
||||
+ return -1;
|
||||
+ }
|
||||
}
|
||||
else
|
||||
{
|
Reference in New Issue
Block a user