Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-15133

Fast image size library sometimes returns no size or invalid sizes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.2.2-RC1
    • 3.2.0
    • Posting

      when uploading jpegs. the built in php getimagesize method fails to get a value for height, but returns 0. The code checks for empty which 0 is. I suggest the patch for this is to replace 'empty' with '!isset'. for the file measurement check in the filespec.php code.

      ~Phil

            Marc Marc
            pompeiisneaks pompeiisneaks [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: