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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
44 + 19 = ?
Subscribe to this entry?

 
 [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-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 19:01:30 2024 UTC