#24115 [Opn->Fbk]: dbase_get_record() crashes on some files
| From: | sniper@php.net | Date: | Tue, 10 Jun 2003 17:20:19 +0000 |
| Subject: | #24115 [Opn->Fbk]: dbase_get_record() crashes on some files | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-41629@lists.php.net to get a copy of this message | ||
ID: 24115
Updated by: sniper@php.net
Reported By: hensle at teq-services dot com
-Status: Open
+Status: Feedback
-Bug Type: Reproducible crash
+Bug Type: dBase related
Operating System: winNT
PHP Version: 4.3.2
New Comment:
Please provide a full URL to this file in question.
Previous Comments:
------------------------------------------------------------------------
[2003-06-10 12:19:59] hensle at teq-services dot com
using php_dbase.dll dated feb 15 2003
------------------------------------------------------------------------
[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