Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.9.4

Bug #2878 bad formulas can cause infinate loops and crash.
Submitted: 2004-12-03 10:03 UTC
From: alan at php dot net Assigned: cschmitz
Status: Closed Package: Spreadsheet_Excel_Writer
PHP Version: 4.3.9 OS: linux
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 14 + 22 = ?

 
 [2004-12-03 10:03 UTC] alan at php dot net
Description: ------------ <?php require_once 'Spreadsheet/Excel/Writer/Parser.php'; $p = new Spreadsheet_Excel_Writer_Parser(1,0x0500); $d = $p->parse("SUM(A1:A:5)"); print_R($d); The extra : in the sum causes an infinate loop in a preg_match somewhere..

Comments

 [2009-11-29 07:11 UTC] cschmitz (Carsten Schmitz)
-Status: Open +Status: Closed -Assigned To: +Assigned To: cschmitz
Thank you for your bug report. This issue has been fixed in the latest released version of the package, which you can download at http://pear.php.net/get/