diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2018-12-20 18:43:07 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2018-12-20 18:43:07 (GMT) |
commit | f30a5fa78d9460550c7e921e73e11087f90b7db3 (patch) | |
tree | 4814c8f1574c3d31983f22adaa49204ae04bd1d7 /src | |
parent | 449a7e2b4ff114a72be573013558bae19672ebbc (diff) | |
download | Doxygen-f30a5fa78d9460550c7e921e73e11087f90b7db3.zip Doxygen-f30a5fa78d9460550c7e921e73e11087f90b7db3.tar.gz Doxygen-f30a5fa78d9460550c7e921e73e11087f90b7db3.tar.bz2 |
Fix for unbounded memory usage due to a bug in \ref const matching #6689
Diffstat (limited to 'src')
-rw-r--r-- | src/doctokenizer.l | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doctokenizer.l b/src/doctokenizer.l index deac51c..52c2d53 100644 --- a/src/doctokenizer.l +++ b/src/doctokenizer.l @@ -362,7 +362,7 @@ URLCHAR [a-z_A-Z0-9\!\~\,\:\;\'\$\?\@\&\%\#\.\-\+\/\=] URLMASK ({URLCHAR}+([({]{URLCHAR}*[)}])?)+ FILESCHAR [a-z_A-Z0-9\\:\\\/\-\+@&#] FILEECHAR [a-z_A-Z0-9\-\+@&#] -HFILEMASK ("."{FILESCHAR}*{FILEECHAR}+)* +HFILEMASK ("."{FILESCHAR}*{FILEECHAR}+)+ FILEMASK ({FILESCHAR}*{FILEECHAR}+("."{FILESCHAR}*{FILEECHAR}+)*)|{HFILEMASK} LINKMASK [^ \t\n\r\\@<&${}]+("("[^\n)]*")")?({BLANK}*("const"|"volatile"){BLANK}+)? VERBATIM "verbatim"{BLANK}* |