php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1850 Seg fault (11) on pg_fetch_array
Submitted: 1999-07-23 12:15 UTC Modified: 1999-07-23 12:23 UTC
From: rkatieb at aggressivesoftware dot com Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 3.0.11 OS: Linux 2.2.6
Private report: No CVE-ID: None
 [1999-07-23 12:15 UTC] rkatieb at aggressivesoftware dot com
The apache child process (apache 1.3.6) dies w/segmentation fault (11) on any call to pg_fetch_array with a row > 0.  pgsql version is 6.5.  

WORKAROUND:  Use pg_fetch_row to get the data, and perform a loop with pg_fieldname to find the column you are after.

Much slower but at least it doesn't crash.  :-)

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-07-23 12:23 UTC] sas at cvs dot php dot net
fixed in CVS
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 27 13:01:30 2024 UTC