mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Added ZEND_ATTRIBUTE_FORMAT to some middind functions.
"%p" replaced by ZEND_LONG_FMT to avoid compilation warnings. Fixed most incorrect use cases of format specifiers.
This commit is contained in:
parent
67e23f4be3
commit
1616038698
92 changed files with 261 additions and 257 deletions
|
@ -262,7 +262,7 @@ SAPI_API size_t sapi_read_post_block(char *buffer, size_t buflen)
|
|||
SAPI_API SAPI_POST_READER_FUNC(sapi_read_standard_form_data)
|
||||
{
|
||||
if ((SG(post_max_size) > 0) && (SG(request_info).content_length > SG(post_max_size))) {
|
||||
php_error_docref(NULL, E_WARNING, "POST Content-Length of %pd bytes exceeds the limit of %pd bytes",
|
||||
php_error_docref(NULL, E_WARNING, "POST Content-Length of " ZEND_LONG_FMT " bytes exceeds the limit of " ZEND_LONG_FMT " bytes",
|
||||
SG(request_info).content_length, SG(post_max_size));
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue