Bug #69667 [Csd]: segfault in php_pgsql_meta_data
| From: | remi@php.net | Date: | Wed, 20 May 2015 06:56:57 +0000 |
| Subject: | Bug #69667 [Csd]: segfault in php_pgsql_meta_data | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-192776@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=69667&edit=1
ID: 69667
Updated by: remi@php.net
Reported by: remi@php.net
Summary: segfault in php_pgsql_meta_data
Status: Closed
Type: Bug
Package: PostgreSQL related
Operating System: irrevelant
PHP Version: 5.5.25
Assigned To: remi
Block user comment: N
Private report: N
New Comment:
Test fixed on http://git.php.net/?p=php-src.git;a=commitdiff;h=3ee3066bd00b15b050c2f70ccf8d6a6373f51c09
Previous Comments:
------------------------------------------------------------------------
[2015-05-20 06:47:11] remi@php.net
Automatic comment on behalf of remi
Revision: http://git.php.net/?p=php-src.git;a=commit;h=f93d24aa673f0d06fc8ecb5bdb211d7e82440f21
Log: Fixed Bug #69667 segfault in php_pgsql_meta_data
------------------------------------------------------------------------
[2015-05-20 06:14:20] remi@php.net
Automatic comment on behalf of remi
Revision: http://git.php.net/?p=php-src.git;a=commit;h=2cc4e69cc6d8dbc4b3568ad3dd583324a7c11d64
Log: Fixed Bug #69667 segfault in php_pgsql_meta_data
------------------------------------------------------------------------
[2015-05-20 06:07:55] remi@php.net
Description:
------------
With specially crafted PHP code, can raise a segfault in php_pgsql_meta_data
pg_insert($conn, '.', array('foo' => 'bar')
This is related to incomplete fix for #68741
strtok_r return value is not checked in php_pgsql_meta_data
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=69667&edit=1