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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: hensle at teq-services dot com
New email:
PHP Version: OS:

 

 [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: Thu Jan 23 13:01:25 2020 UTC