php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #47193 Bad field length in header (type D and L)
Submitted: 2009-01-22 18:31 UTC Modified: 2009-02-03 19:20 UTC
From: maxwer at ukr dot net Assigned:
Status: Closed Package: dBase related
PHP Version: 5.2.8 OS: Win2000SP4
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: maxwer at ukr dot net
New email:
PHP Version: OS:

 

 [2009-01-22 18:31 UTC] maxwer at ukr dot net
Description:
------------
When create or read or write qBase file, in header write field length for D and L type = 0

Reproduce code:
---------------
<?php
$def = array(
  array("date","D"),
  array("log", "L")
);
$file_name = 'c:/test.dbf';
dbase_create($file_name,$def);  
//length D and L in header is 0 IS ERROR
?>


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-01-22 18:39 UTC] felipe@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/


 [2009-01-30 01:01 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2009-02-03 19:20 UTC] maxwer at ukr dot net
Works. Thank you
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 01:01:30 2024 UTC