com php-src: Fix bug #72724: NEWS main/rfc1867.c

From: Date: Tue, 02 Aug 2016 22:34:36 +0000
Subject: com php-src: Fix bug #72724: NEWS main/rfc1867.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-93540@lists.php.net to get a copy of this message
Commit: 1bcd439cad5eefeef1fecbc9076b72ef76fb80b6 Author: Nikita Popov <nikic@php.net> Wed, 3 Aug 2016 00:33:32 +0200 Parents: 3a8c027ec383811ed8a61e3db604d89b5efa58d6 Branches: PHP-7.0 PHP-7.1 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=1bcd439cad5eefeef1fecbc9076b72ef76fb80b6 Log: Fix bug #72724 Bugs: https://bugs.php.net/72724 Changed paths: M NEWS M main/rfc1867.c Diff: diff --git a/NEWS b/NEWS index 27bd7b0..af59ed1 100644 --- a/NEWS +++ b/NEWS @@ -5,6 +5,9 @@ PHP NEWS - GD: . Fixed bug #72709 (imagesetstyle() causes OOB read for empty $styles). (cmb) +- Session: + . Fixed bug #72724 (PHP7: session-uploadprogress kills httpd). (Nikita) + ?? ??? 2016 PHP 7.0.10 diff --git a/main/rfc1867.c b/main/rfc1867.c index 14e72d9..afd982c 100644 --- a/main/rfc1867.c +++ b/main/rfc1867.c @@ -1099,7 +1099,7 @@ SAPI_API SAPI_POST_HANDLER_FUNC(rfc1867_post_handler) /* {{{ */ multipart_event_file_end event_file_end; event_file_end.post_bytes_processed = SG(read_post_bytes); - event_file_end.temp_filename = ZSTR_VAL(temp_filename); + event_file_end.temp_filename = temp_filename ? ZSTR_VAL(temp_filename) : NULL; event_file_end.cancel_upload = cancel_upload; if (php_rfc1867_callback(MULTIPART_EVENT_FILE_END, &event_file_end, &event_extra_data) == FAILURE) { cancel_upload = UPLOAD_ERROR_X;

« previous php.cvs (#93540) next »