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 Mariusz Felisiak, 3 years ago

Owner: changed from nobody to Stefanos I. Tsaklidis
Summary: Prevent get_image_dimensions() crashPrevent get_image_dimensions() crash on nonexistent images.
Triage Stage: UnreviewedAccepted

comment:2 by Mariusz Felisiak <felisiak.mariusz@…>, 3 years ago

Resolution: fixed
Status: assignedclosed

In d0ea01af:

Fixed #33079 -- Fixed get_image_dimensions() on nonexistent images.

Thanks Nick Pope for the review.

Note: See TracTickets for help on using tickets.
Back to Top