Bug #54426 [Com]: Wrong NULL checks
| From: | mapopa at gmail dot com | Date: | Thu, 14 Apr 2011 10:32:52 +0000 |
| Subject: | Bug #54426 [Com]: Wrong NULL checks | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-160161@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=54426&edit=1
ID: 54426
Comment by: mapopa at gmail dot com
Reported by: jiri at cincura dot net
Summary: Wrong NULL checks
Status: Open
Type: Bug
Package: InterBase related
Operating System: All
PHP Version: 5.3.6
Block user comment: N
Private report: N
New Comment:
Here is the patch
http://paste.ubuntu.com/593941/
in case the one bellow doesn't download
I will create one for 5.3.x trunk branch
Previous Comments:
------------------------------------------------------------------------
[2011-03-30 18:46:13] jiri at cincura dot net
Description:
------------
ibase_query.c contains on line 676 checks for NULL. But this is wrong,
as the value could be provided in trigger etc.
Simply removing this check should be enough and everything will be
working fine.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=54426&edit=1