php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24115 dbase_get_record() crashes on some files
Submitted: 2003-06-10 12:10 UTC Modified: 2003-06-15 23:44 UTC
From: hensle at teq-services dot com Assigned:
Status: No Feedback Package: dBase related
PHP Version: 4.3.2 OS: winNT
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2003-06-10 12:10 UTC] 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);

?>

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-06-10 12:19 UTC] hensle at teq-services dot com
using php_dbase.dll dated feb 15 2003
 [2003-06-10 12:20 UTC] sniper@php.net
Please provide a full URL to this file in question.

 [2003-06-15 23:44 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sat Jan 18 00:01:23 2020 UTC