php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #29339 sqlite_escape_string returns bogus data for empty strings on Windows XP
Submitted: 2004-07-22 21:00 UTC Modified: 2004-07-28 03:39 UTC
From: victor-php at boivie dot com Assigned:
Status: Closed Package: SQLite related
PHP Version: 5.0.0 OS: Windows XP
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: victor-php at boivie dot com
New email:
PHP Version: OS:

 

 [2004-07-22 21:00 UTC] victor-php at boivie dot com
Description:
------------
sqlite_escape_string returns bogus data for empty strings on Windows XP. In FreeBSD with PHP 5.0.0RC2, it works.

Reproduce code:
---------------
php.exe -r "echo sqlite_escape_string('');"

Expected result:
----------------
(nothing)

Actual result:
--------------
a few letters from the lower part of the ASCII table. And they can not easily be shown here.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-07-28 03:39 UTC] iliaa@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 13:01:29 2024 UTC