mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue