PHP 4.0 Bug #3109: trim(`pwd`) causing crash
| From: | brad at youreshop dot com | Date: | Wed, 05 Jan 2000 20:54:00 +0000 |
| Subject: | PHP 4.0 Bug #3109: trim(`pwd`) causing crash | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-14290@lists.php.net to get a copy of this message | ||
From: brad@youreshop.com
Operating system: Linux Redhat 6.1
PHP version: 4.0 Beta 3
PHP Bug Type: Reproduceable crash
Bug description: trim(
pwd) causing crash
Test Script:
echo trim(pwd);
Configure line:
--with-apache --with-mysql --with-gd --enable-track-vars
#0 php_trim (str=0x8264748, return_value=0x8261278, mode=3) at string.c:133
#1 0x80dcdf7 in php_if_trim (ht=1, return_value=0x8261278, list=0x81ee9b4,
plist=0x81ee9e0, this_ptr=0x0, return_value_used=1) at string.c:191
#2 0x80f120d in execute (op_array=0x825faf0) at ./zend_execute.c:1525
#3 0x808b310 in php_execute_script (primary_file=0xbffffafc) at main.c:1274
#4 0x80a7601 in apache_php_module_main (r=0x824a87c, fd=48,
display_source_mode=0) at sapi_apache.c:86
#5 0x8089843 in send_php ()
#6 0x8089888 in send_parsed_php ()
#7 0x80fc643 in ap_invoke_handler ()
#8 0x810fa79 in process_request_internal ()
#9 0x810fadc in ap_process_request ()
#10 0x810747c in child_main ()
#11 0x810760c in make_child ()
#12 0x8107769 in startup_children ()
#13 0x8107d96 in standalone_main ()
#14 0x8108513 in main ()
#15 0x400fa1eb in __libc_start_main (main=0x81081dc <main>, argc=2,
argv=0xbffffcb4, init=0x806ebb0 <_init>, fini=0x81876cc <_fini>,
rtld_fini=0x4000a610 <_dl_fini>, stack_end=0xbffffcac)
at ../sysdeps/generic/libc-start.c:90