After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 600635 - get into infinite loop when parse comment block
get into infinite loop when parse comment block
Status: RESOLVED DUPLICATE of bug 567346
Product: doxygen
Classification: Other
Component: general
1.6.1
Other Linux
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2009-11-04 03:31 UTC by dirtysalt
Modified: 2009-11-10 19:51 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
temporary slight modification (1.48 KB, application/octet-stream)
2009-11-04 03:31 UTC, dirtysalt
Details

Description dirtysalt 2009-11-04 03:31:56 UTC
Created attachment 146896 [details]
temporary slight modification

1.when doxygen the following segment code from
phpMyAdmin/libraries/tcpdf/tcpdf.php
------------------------------------------------
<?php
if(!class_exists('TCPDF', false)) {
    /**
     * @name TCPDF
     * @package com.tecnick.tcpdf
     */
}
?>
----------------------------------------
doxygen get into infinite loop...:-(.


2.I gdb it,and find it gets into the loop of 'src/commentscan.l/bool
parseCommentBlock' this funciton,when 'parseMore' is set 'TRUE' over and over
again...


3.I make a temporary slight modification to 'src/commentscan.l' which is in the
attachment......[just add a variable 'parseMoreCnt' to avoid it gets into
infinite loop]
Comment 1 Dimitri van Heesch 2009-11-10 19:51:45 UTC
I've implemented a somewhat better protection in the latest subversion snapshot already.

*** This bug has been marked as a duplicate of bug 567346 ***