[wp-trac] [WordPress Trac] #43255: WP_Image_Editor::make_image leaves an output buffer open on failure

WordPress Trac noreply at wordpress.org
Thu Oct 11 08:10:57 UTC 2018


#43255: WP_Image_Editor::make_image leaves an output buffer open on failure
--------------------------+---------------------------
 Reporter:  gnif          |       Owner:  mikeschroder
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  5.0
Component:  Media         |     Version:  3.5
 Severity:  critical      |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+---------------------------
Changes (by SergeyBiryukov):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"43717" 43717]:
 {{{
 #!CommitTicketReference repository="" revision="43717"
 Media: In `WP_Image_Editor::make_image()`, close previously opened output
 buffer if the file could not be created.

 In addition to the merge noted below, includes important brackets added in
 [42343].

 Props dhanendran, gnif, SergeyBiryukov.
 Merges [42695] and [42702] to the 5.0 branch.
 Fixes #43255.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/43255#comment:24>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list