mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Disable chdir in execute fuzzers
We don't want the current working directory to change during fuzzing, as that breaks corpus access unless an absolute path is used. I'm not sure why this issue never came up before.
This commit is contained in:
parent
831a2b3c3d
commit
b7409d3a63
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ const char HARDCODED_INI[] =
|
|||
"open_basedir=/tmp\n"
|
||||
"disable_functions=dl,mail,mb_send_mail"
|
||||
",shell_exec,exec,system,proc_open,popen,passthru,pcntl_exec"
|
||||
",chgrp,chmod,chown,copy,file_put_contents,lchgrp,lchown,link,mkdir"
|
||||
",chdir,chgrp,chmod,chown,copy,file_put_contents,lchgrp,lchown,link,mkdir"
|
||||
",move_uploaded_file,rename,rmdir,symlink,tempname,touch,unlink,fopen"
|
||||
/* Networking code likes to wait and wait. */
|
||||
",fsockopen,pfsockopen"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue