php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16364 Overflow with fgetcsv()
Submitted: 2002-03-30 17:39 UTC Modified: 2002-08-16 01:00 UTC
From: yohgaki@php.net Assigned:
Status: No Feedback Package: Filesystem function related
PHP Version: 4.0CVS-2002-03-30 OS: ANY(?)
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:
22 + 28 = ?
Subscribe to this entry?

 
 [2002-03-30 17:39 UTC] yohgaki@php.net
PHP4.2.0-dev overflow with fgetcsv() with multi-byte char (EUC-JP). It also seems not working for single byte chars.

---------------------------------------
[Sun Mar 31 07:20:38 2002]  Script:  '-'
---------------------------------------
file.c(2180) : Block 0x083063C0 status:
Beginning:      OK (allocated on file.c:2096, 12 bytes)
      End:      Overflown (magic=0x2A8FCC00 instead of 0x2A8FCC84)
                1 byte(s) overflown
---------------------------------------
file.c(2096) :  Freeing 0x08306664 (12 bytes), script=-
Last leak repeated 1183 times

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-01 15:29 UTC] sander@php.net
Hm... does this just mean that fgetcsv() is not binary safe?
Can you provide some more information? Sample script, sample data, etc?
 [2002-07-01 17:37 UTC] sniper@php.net
A sample script would be nice to have too.
And Hartmut fixed something in that function just recently..

 [2002-08-16 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a month, 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".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 18:01:28 2024 UTC