#33132 [Opn->Bgs]: when safe_mode is on, exec function escape newline wrong

From: Date: Wed, 25 May 2005 09:24:03 +0000
Subject: #33132 [Opn->Bgs]: when safe_mode is on, exec function escape newline wrong
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-79470@lists.php.net to get a copy of this message
ID: 33132 Updated by: sniper@php.net Reported By: stanojr at blackhole dot sk -Status: Open +Status: Bogus Bug Type: Program Execution Operating System: linux PHP Version: 5.0.4 New Comment: 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 Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#79470) next »