ID:               33132
 User updated by:  stanojr at blackhole dot sk
 Reported By:      stanojr at blackhole dot sk
 Status:           Bogus
 Bug Type:         Program Execution
 Operating System: linux
 PHP Version:      5.0.4
 New Comment:

sorry, but, if you think \\\n is corectly escaped \n, then you are fag


Previous Comments:
------------------------------------------------------------------------

[2005-05-25 11:24:02] [EMAIL PROTECTED]

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

RTFM


------------------------------------------------------------------------

[2005-05-25 02:18:11] stanojr at blackhole dot sk

Description:
------------
if safe_mode is on
and i call
exec("something \n");

php call (from strace output)
execve("/bin/sh", ["sh", "-c", "/safe_mode_exec_dir/something \\\n"],
[/* 35 vars */]) = 0

\\\n is bug
it must be \n




------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=33132&edit=1

Reply via email to