php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1581 Divide by zero
Submitted: 1999-06-22 07:20 UTC Modified: 1999-06-24 08:31 UTC
From: jarda dot mikulik at seznam dot cz Assigned:
Status: Closed Package: dBase related
PHP Version: 3.0.6 OS: Windows NT 4
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 !
Your email address:
MUST BE VALID
Solve the problem:
44 - 2 = ?
Subscribe to this entry?

 
 [1999-06-22 07:20 UTC] jarda dot mikulik at seznam dot cz
When php script is trying to open .DBF file, which has dbase header ended with 0x0D00 (header length is even) not only 0x0D (header length is odd) then php.exe is falling down with Divide by zero error.
I can send both .DBF files for example.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-06-24 08:31 UTC] sas at cvs dot php dot net
fixed in CVS
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 11 00:01:31 2024 UTC