php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59006 Segmentation fault on execute procedure
Submitted: 2009-12-24 06:44 UTC Modified: 2010-05-26 06:16 UTC
From: jruffer at hss dot co dot uk Assigned:
Status: Closed Package: ingres (PECL)
PHP Version: 5.1.6 OS: RHEL5 x86_64
Private report: No CVE-ID: None
 [2009-12-24 06:44 UTC] jruffer at hss dot co dot uk
Description:
------------
Cannot execute procedure.  Replacing the query with the contents of the procedure works OK.

This appears to be identical to the bug that was fixed in 2.2.1

Reproduce code:
---------------
$link = ingres_connect("imadb") or die("Can't connect\n");
$query = "EXECUTE PROCEDURE ima_set_vnode_domain";
$res = ingres_query($link,$query) or die("Query failed\n");

Expected result:
----------------
It should work

Actual result:
--------------
Segmentation fault

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-05-26 04:48 UTC] grant dot croker at ingres dot com
I'm currently working on submitting a fix for this. If you 
change strnmcmp to strncasecmp in php_ii_check_procedure the 
SEGV will go away.
 [2010-05-26 06:08 UTC] jruffer at hss dot co dot uk
That's excellent.

Thank you.
 [2010-05-26 06:16 UTC] grant dot croker at ingres dot com
This bug has been fixed in SVN.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pecl.php.net.

In case this was a pecl.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PECL better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 07:01:27 2024 UTC