From: hensle at teq-services dot com Operating system: winNT PHP version: 4.3.2 PHP Bug Type: Reproducible crash Bug description: dbase_get_record() crashes on some files
The following code will crash with *some* dbf files. The dbf can be found at the US census site: Congressional districts for the entire US=cd99_108.zip <?php $dbname="......./cd99_108.dbf"; $db=dbase_open($dbname,0); //$db is good $nf=dbase_numfields($db); //$nf=8 $rec=dbase_get_record($db,1);//crashes here dbase_close($db); ?> -- Edit bug report at http://bugs.php.net/?id=24115&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=24115&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=24115&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=24115&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=24115&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=24115&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=24115&r=support Expected behavior: http://bugs.php.net/fix.php?id=24115&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=24115&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=24115&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=24115&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24115&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=24115&r=dst IIS Stability: http://bugs.php.net/fix.php?id=24115&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=24115&r=gnused
