php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3109 trim(`pwd`) causing crash
Submitted: 2000-01-05 15:53 UTC Modified: 2000-02-11 23:15 UTC
From: brad at youreshop dot com Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 4.0 Beta 3 OS: Linux Redhat 6.1
Private report: No CVE-ID: None
 [2000-01-05 15:53 UTC] brad at youreshop dot com
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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-02-11 23:15 UTC] andrei at cvs dot php dot net
Can't reproduce the problem.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue May 21 00:01:34 2024 UTC