File tree 2 files changed +3
-1
lines changed
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,8 @@ PHP NEWS
37
37
- Fixed zend_llist_remove_tail (Michael Wallner, Dmitry)
38
38
- Fixed a thread safety issue in gd gif read code (Nuno, Roman Nemecek)
39
39
- Fixed CVE-2007-1001, GD wbmp used with invalid image size (Pierre)
40
+ - Fixed bug #40921 (php_default_post_reader crashes when post_max_size is
41
+ exceeded). (trickie at gmail dot com, Ilia)
40
42
- Fixed bug #40915 (addcslashes unexpected behavior with binary input). (Tony)
41
43
- Fixed bug #40899 (memory leak when nesting list()). (Dmitry)
42
44
- Fixed bug #40883 (mysql_query() is allocating memory incorrectly). (Tony)
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ SAPI_API SAPI_POST_READER_FUNC(php_default_post_reader)
42
42
43
43
/* $HTTP_RAW_POST_DATA registration */
44
44
if (!strcmp (SG (request_info ).request_method , "POST" )) {
45
- if (NULL == SG (request_info ).post_entry ) {
45
+ if (NULL == SG (request_info ).post_entry && SG ( request_info ). post_data ) {
46
46
/* no post handler registered, so we just swallow the data */
47
47
sapi_read_standard_form_data (TSRMLS_C );
48
48
length = SG (request_info ).post_data_length ;
You can’t perform that action at this time.
0 commit comments