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
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: 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: Mon Oct 14 10:01:28 2024 UTC