Opened 3 years ago
Closed 3 years ago
#33079 closed Cleanup/optimization (fixed)
Prevent get_image_dimensions() crash on nonexistent images.
Reported by: | Stefanos I. Tsaklidis | Owned by: | Stefanos I. Tsaklidis |
---|---|---|---|
Component: | File uploads/storage | Version: | 3.2 |
Severity: | Normal | Keywords: | |
Cc: | Jacob Walls, Nick Pope | Triage Stage: | Accepted |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
When using the get_image_dimensions(), If a non existing file/path is passed, the function crashes
Change History (2)
comment:1 by , 3 years ago
Owner: | changed from | to
---|---|
Summary: | Prevent get_image_dimensions() crash → Prevent get_image_dimensions() crash on nonexistent images. |
Triage Stage: | Unreviewed → Accepted |
Note:
See TracTickets
for help on using tickets.
PR