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

WordPress Trac noreply at wordpress.org
Tue Sep 18 22:01:28 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:  4.9.9
Component:  Media                  |     Version:  3.5
 Severity:  critical               |  Resolution:  fixed
 Keywords:  has-patch fixed-major  |     Focuses:
-----------------------------------+---------------------------
Changes (by mikeschroder):

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


Comment:

 In [changeset:"43649" 43649]:
 {{{
 #!CommitTicketReference repository="" revision="43649"
 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, sergey.
 Merges [42695] and [42702] to the 4.9 branch.
 Fixes #43255.
 }}}

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


More information about the wp-trac mailing list