getimagesize() too noisy when failing to read zero-sized files

Bug #848595 reported by Richard Mansfield
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Low
Richard Mansfield
Changed in mahara:
status: New → In Progress
importance: Undecided → Low
assignee: nobody → Richard Mansfield (richard-mansfield)
milestone: none → 1.5.0
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/686
Committed: http://gitorious.org/mahara/mahara/commit/f9566281610b4631c486f7ddd2301e5f118f8f0d
Submitter: Richard Mansfield (<email address hidden>)
Branch: master

commit f9566281610b4631c486f7ddd2301e5f118f8f0d
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: I9cd8fcf990709da3b34b5530235a065253ce46df
    Signed-off-by: Richard Mansfield <email address hidden>

Changed in mahara:
status: In Progress → Fix Committed
Revision history for this message
Melissa Draper (melissa) wrote :

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

 status fixreleased
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPjqHVAAoJECXBtiziiXdcqjEH/1fRVO9/qXdWa9fQCOVSC9Vn
/GixQuY8T9dDM/pBHJa29AovUX2LE2jHPlt4g3JapldZw8Xyp9lHgTl2fDzQDccl
XBYbVnl0M6A09q/k4o0IfTI7I7SKbDRx71rx/Nl8S8uQA89Am/pcoaCwxxXDTlVx
b72BzWA3SYdJRgE+Gr27tf9INvO6/J+gM/OE6brkiO/shntuEw0CN719PQy5Iozk
GZ0Le+FQ3xEnl3W1jyJA30kLXERT4Yk6dX0i446jkmodUP8MIGprX74AN9zkK7xK
wj7hil4WKVKXeHAiNzCzKwLd4s4JRP/JN6sv0zY2oTNnEl6kqckwl6DkIkxA+Fo=
=G25X
-----END PGP SIGNATURE-----

Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.