getimagesize() too noisy when failing to read zero-sized files
Bug #848595 reported by
Richard Mansfield
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Low
|
Richard Mansfield |
Bug Description
Changed in mahara: | |
status: | New → In Progress |
importance: | Undecided → Low |
assignee: | nobody → Richard Mansfield (richard-mansfield) |
milestone: | none → 1.5.0 |
Changed in mahara: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
Reviewed: https:/ /reviews. mahara. org/686 gitorious. org/mahara/ mahara/ commit/ f9566281610b463 1c486f7ddd2301e 5f118f8f0d
Committed: http://
Submitter: Richard Mansfield (<email address hidden>)
Branch: master
commit f9566281610b463 1c486f7ddd2301e 5f118f8f0d
Author: Richard Mansfield <email address hidden>
Date: Tue Sep 13 16:33:25 2011 +1200
Fix warning from getimagesize called on empty files (bug #848595)
If there are image artefacts with zero size files, getimagesize
outputs unfriendly "Read error!" warnings into the logs.
Change-Id: I9cd8fcf990709d a3b34b5530235a0 65253ce46df
Signed-off-by: Richard Mansfield <email address hidden>