php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7334 Apache dies when using "?" in a SQL query
Submitted: 2000-10-19 05:31 UTC Modified: 2000-10-27 22:29 UTC
From: llonchj at pasifae dot com Assigned:
Status: Closed Package: InterBase related
PHP Version: 4.0.3pl1 OS: RedHat Linux 7.0
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: llonchj at pasifae dot com
New email:
PHP Version: OS:

 

 [2000-10-19 05:31 UTC] llonchj at pasifae dot com
When using a SQL sentence with an '?',  produces a segmentation fault to the child.

The bug is reproducible using this sentence:

$stmt="SELECT * FROM GetContent(?,?,?)";
$sthc = ibase_query ($dbh,$stmt,"1","2","3");


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-27 22:29 UTC] jah@php.net
Fixed in current CVS. Fetch a new version of ext/interbase/interbase.c from
http://cvs.php.net/viewcvs.cgi/~checkout~/php4/ext/interbase/interbase.c?rev=1.45
and recompile.
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun Dec 05 21:03:39 2021 UTC