PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » File Formats » Spreadsheet_Excel_Writer » Bug #2878

bad formulas can cause infinate loops and crash.

Details

Submitted2004-12-03 10:03 UTC
Fromalan at php dot net
Assignedcschmitz
StatusClosed
PackageSpreadsheet_Excel_Writer
PHP Version4.3.9
OSlinux
Roadmaps(Not assigned)

Comments

[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..