|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-11-01 02:25 UTC] andi@php.net
[2000-11-01 03:18 UTC] tog at tog dot net
[2000-12-07 11:44 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 05:00:01 2025 UTC |
Problem from bug id 3010 still occurs with php 4.0.2. Compile php 4.0.2 with --enable-force-cgi-redirect. Attempt to access /cgi-bin/php directly. Instead of spitting out the security alert, php cores. Here's the updated full backtrace for php 4.0.2: (gdb) bt full #0 0x0 in ?? () No symbol table info available. #1 0x80c2fa4 in php_body_write ( str=0x812c430 "<b>Security Alert!</b> PHP CGI cannot be accessed directly.\n\n<P>This PHP CGI binary was compiled with force-cgi-redirect enabled. This\nmeans that a page will only be served up if the REDIRECT_STATUS"..., str_length=933) at output.c:81 No locals. #2 0x80644cb in main (argc=1, argv=0xbfbfda54) at cgi_main.c:439 exit_status = 0 cgi = 1 c = -1077945660 i = -1077945764 len = -1077945660 file_handle = {type = 125 '}', filename = 0x28164000 "z?P?\001", opened_path = 0xa88 <Address 0xa88 out of bounds>, handle = { fd = -1077945780, fp = 0xbfbfda4c}, free_filename = 184 '?'} s = 0xbfbfda54 "@ۿ?" cgi_started = 0 behavior = 1 no_headers = 0 orig_optind = 1 orig_optarg = 0x0 argv0 = 0x0 global_vars = {head = 0x281664a0, tail = 0xbfbfda5c, size = 1, dtor = 0xbfbfda54, persistent = 0 '\000', traverse_ptr = 0xbfbfda4c} interactive = 0 #3 0x8064041 in _start () No symbol table info available.