|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #35023 invalid insert query causes crash with user defined function
Submitted: 2005-10-30 13:17 UTC Modified: 2005-10-30 15:14 UTC
From: mark-phpbugs at vectrex dot org dot uk Assigned:
Status: Closed Package: SQLite related
PHP Version: 5.0.5 OS: Linux 2.6, Debian
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.
Block user comment
Status: Assign to:
Bug Type:
From: mark-phpbugs at vectrex dot org dot uk
New email:
PHP Version: OS:


 [2005-10-30 13:17 UTC] mark-phpbugs at vectrex dot org dot uk
When using a user defined function, a badly formed insert
query crashes PHP. Normally this query would (correctly) generate a SQL error.

Reproduce code:

Expected result:
Should give a PHP warning, with an SQL error (invalid column or something)

Actual result:
PHP Apache process crashes


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-10-30 14:39 UTC]
appears to result in   
Warning: SQLiteDatabase::queryExec(): no such column:  
admin in /home/pookey/test.php on line 39  
on 5.1-RC4. 
Mark - please retry with more recent version. 
 [2005-10-30 15:14 UTC] mark-phpbugs at vectrex dot org dot uk
I've tested this in 5.1.0 RC4, appears to work fine in this version.


PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Jul 21 20:01:30 2024 UTC