From:             [EMAIL PROTECTED]
Operating system: Linux
PHP version:      4.0.6
PHP Bug Type:     Reproducible crash
Bug description:  setcookie() called with only one arg causes crash

setcookie() when called with exactly one argument causes PHP to crash; I've
included a stack trace below.  The offending statement is

setcookie ("feedbackSent");
We can work around the problem by adding a NULL second argument, e.g.

setcookie ("feedbackSent",""); 

#0  0x40282cfc in php_if_setcookie () from /usr/lib/apache/1.3/
#1  0x40206e57 in execute () from /usr/lib/apache/1.3/
#2  0x40215d6e in zend_execute_scripts () from
#3  0x402287e4 in php_execute_script () from
#4  0x40224c3f in apache_php_module_main () from
#5  0x4022566e in php_restore_umask () from
#6  0x402256aa in php_restore_umask () from
#7  0x8054204 in ap_invoke_handler ()
#8  0x806306c in ap_some_auth_required ()
#9  0x80630c8 in ap_process_request ()
Edit bug report at:

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to