Opened 11 years ago
Closed 11 years ago
#31940 closed defect (bug) (duplicate)
Suppressed fatal error in WP_Image_Editor_GD class
| Reported by: | nevma | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Media | Version: | 4.1.1 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
Class: WP_Image_Editor_GD
File: wp-includes/class-wp-image-editor-gd.php
Method: load()
Line: 102
Exact code: $this->image = @imagecreatefromstring( file_get_contents( $this->file ) );
When processing large images, there is the possibility for the memory to get exhausted. In that case, the execution just stops without any notification.
While this is not a bug in terms of data handling, the reason of a fatal PHP error should probably be somehow communicated.
Change History (1)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Duplicate of #23127 and #31879.