#24115 [Opn]: dbase_get_record() crashes on some files
| From: | hensle at teq-services dot com | Date: | Tue, 10 Jun 2003 17:20:00 +0000 |
| Subject: | #24115 [Opn]: dbase_get_record() crashes on some files | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-41628@lists.php.net to get a copy of this message | ||
ID: 24115
User updated by: hensle at teq-services dot com
Reported By: hensle at teq-services dot com
Status: Open
Bug Type: Reproducible crash
Operating System: winNT
PHP Version: 4.3.2
New Comment:
using php_dbase.dll dated feb 15 2003
Previous Comments:
------------------------------------------------------------------------
[2003-06-10 12:10:05] hensle at teq-services dot com
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 this bug report at http://bugs.php.net/?id=24115&edit=1