PHP 4.0 Bug #8598 Updated: get_browser crashing

From: Date: Mon, 08 Jan 2001 18:49:39 +0000
Subject: PHP 4.0 Bug #8598 Updated: get_browser crashing
Groups: php.dev 
Request: Send a blank email to php-dev+get-43425@lists.php.net to get a copy of this message
ID: 8598 Updated by: stas Reported By: lsimon@ Old-Status: Open Status: Feedback Bug Type: Reproduceable crash Assigned To: Comments: Which browscap.ini are you using? Previous Comments: --------------------------------------------------------------------------- [2001-01-08 13:46:52] lsimon@ The docuementation get_browser function and script causes segmentation fault. I saw the earlier reports on this, but as I'm not using 4.04 I figured this bug had been squashed. If the fix is still only available in CVS then I'm sorry for this. gdb bt: #0 0x0 in ?? () #1 0x80e8d1d in zend_hash_find (ht=0x81bd500, arKey=0x8270484 "Mozilla/4.72 [en] (X11; I; Linux 2.2.17 i586; Nav)", nKeyLength=51, pData=0xbfffd484) at zend_hash.c:854 #2 0x80a2dd9 in php_if_get_browser (ht=1, return_value=0x8275b8c, this_ptr=0x0, return_value_used=1) at browscap.c:222 #3 0x810c35f in execute (op_array=0x827607c) at ./zend_execute.c:1519 #4 0x810e440 in execute (op_array=0x82714dc) at ./zend_execute.c:2063 #5 0x80e5a2b in zend_execute_scripts (type=8, file_count=3) at zend.c:729 #6 0x808a604 in php_execute_script (primary_file=0xbffff988) at main.c:1221 #7 0x80f14ab in apache_php_module_main (r=0x826cd44, display_source_mode=0) at sapi_apache.c:89 #8 0x8087f26 in send_php () #9 0x8087f5a in send_parsed_php () #10 0x812f9d9 in ap_invoke_handler () #11 0x8143d8f in process_request_internal () #12 0x8143df6 in ap_process_request () #13 0x813aff6 in child_main () #14 0x813b1b1 in make_child () #15 0x813b32c in startup_children () #16 0x813b98d in standalone_main () #17 0x813c1bc in main () #18 0x401c3a52 in __libc_start_main () from /lib/libc.so.6 --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=8598

« previous php.dev (#43425) next »