php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #778 coredump (segfault/11)
Submitted: 1998-09-24 11:19 UTC Modified: 1998-09-24 13:17 UTC
From: teuber at devicen dot de Assigned: jah (profile)
Status: Closed Package: PostgreSQL related
PHP Version: 3.0.4 OS: solaris 2.5
Private report: No CVE-ID: None
 [1998-09-24 11:19 UTC] teuber at devicen dot de
apache 1.3.2, php 3.0.4, postgres 6.3.2

Program (httpd) terminated with signal 11, Segmentation fault

Function backtrace: 
#0  0x45808 in php3_pgsql_get_result_info ()
#1  0x458c8 in php3_pgsql_num_rows ()
#2  0x59194 in phpparse ()
#3  0x250c8 in _php3_build_argv ()
#4  0x253dc in apache_php3_module_main ()
#5  0x22290 in send_php3 ()
#6  0x22318 in send_parsed_php3 ()
#7  0x8c8c8 in ap_invoke_handler ()
#8  0xa6c10 in ap_some_auth_required ()
#9  0xa6c90 in ap_process_request ()
#10 0x9be84 in ap_child_terminate ()
#11 0x9c1e0 in ap_child_terminate ()
#12 0x9c720 in ap_child_terminate ()
#13 0x9ceac in ap_child_terminate ()
#14 0x9d710 in main ()

happened while accessing a table without
permission to do so ...

php 3.0.3 reports an access error ...

cu, oliver

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-09-24 13:17 UTC] jah
Fixed.

Checking if results are valid and can be used is a practice that should be applied
by _both_  people writing PHP-modules and people using them. :(
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sat Jan 19 01:01:25 2019 UTC