mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
I could have sworn I committed this a while ago. Just a tiny NULL safety
check here.
This commit is contained in:
parent
1fad73d13d
commit
c35454440c
@ -236,7 +236,7 @@ SAPI_API SAPI_POST_HANDLER_FUNC(php_std_post_handler)
|
||||
SAPI_API SAPI_INPUT_FILTER_FUNC(php_default_input_filter)
|
||||
{
|
||||
/* TODO: check .ini setting here and apply user-defined input filter */
|
||||
*new_val_len = val_len;
|
||||
if(new_val_len) *new_val_len = val_len;
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user