com php-fuzzing-sapi: Limit execution time by 20 secs.: fuzzer-sapi.c

From: Date: Mon, 18 Mar 2019 06:08:39 +0000
Subject: com php-fuzzing-sapi: Limit execution time by 20 secs.: fuzzer-sapi.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-105187@lists.php.net to get a copy of this message
Commit: c9cde90e789e6ec400de38e3084ba37cffbd9f91 Author: Stanislav Malyshev <smalyshev@gmail.com> Sun, 17 Mar 2019 23:08:39 -0700 Parents: f90a310a96eed06da2f930f2d981eb5cf47d94f3 Branches: master Link: http://git.php.net/?p=php-fuzzing-sapi.git;a=commitdiff;h=c9cde90e789e6ec400de38e3084ba37cffbd9f91 Log: Limit execution time by 20 secs. OSS-Fuzz has 25 second run limit. Realistic production configs would have this limit. And if some code breaks the limit we'd like to know it too. Changed paths: M fuzzer-sapi.c Diff: diff --git a/fuzzer-sapi.c b/fuzzer-sapi.c index 70b276c..42694d1 100644 --- a/fuzzer-sapi.c +++ b/fuzzer-sapi.c @@ -28,6 +28,7 @@ const char HARDCODED_INI[] = "html_errors=0\n" "implicit_flush=1\n" + "max_execution_time=20\n" "output_buffering=0\n"; static int startup(sapi_module_struct *sapi_module)

« previous php.cvs (#105187) next »