#24115 [NEW]: dbase_get_record() crashes on some files
| From: | hensle at teq-services dot com | Date: | Tue, 10 Jun 2003 17:10:05 +0000 |
| Subject: | #24115 [NEW]: dbase_get_record() crashes on some files | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-41625@lists.php.net to get a copy of this message | ||
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