File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 46
46
. Removed dl() function on fpm-fcgi. (Nikita)
47
47
. Removed support for hexadecimal numeric strings. (Nikita)
48
48
. Removed obsolete extensions and SAPIs. See the full list in UPGRADING. (Anatol)
49
+ . Added NULL byte protection to exec, system and passthru. (Yasuo)
49
50
50
51
- Curl:
51
52
. Fixed bug #68937 (Segfault in curl_multi_exec). (Laruence)
Original file line number Diff line number Diff line change @@ -190,7 +190,7 @@ static void php_exec_ex(INTERNAL_FUNCTION_PARAMETERS, int mode) /* {{{ */
190
190
RETURN_FALSE ;
191
191
}
192
192
if (strlen (cmd ) != cmd_len ) {
193
- php_error_docref (NULL TSRMLS_CC , E_WARNING , "NULL byte detected. Possible attack" );
193
+ php_error_docref (NULL , E_WARNING , "NULL byte detected. Possible attack" );
194
194
RETURN_FALSE ;
195
195
}
196
196
You can’t perform that action at this time.
0 commit comments