GNOME Bugzilla – Bug 600635
get into infinite loop when parse comment block
Last modified: 2009-11-10 19:51:45 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]
I've implemented a somewhat better protection in the latest subversion snapshot already. *** This bug has been marked as a duplicate of bug 567346 ***