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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Thu Mar 13 00:01:31 2025 UTC