Review TYPO3_6-2 Merged

36698[BUGFIX] Ensure variable imageSizes is an array before accessing its values

Christian Kuhn CR +2 V +2 Easy +1 −2 updated 02/05/15, 22:46

Commit message

It could be the PHP function "getimagesize" will fail to get the width and
the height of an image if the format is not supported by PHP. The patch
prevent accessing the value of an array which may be not an array.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 1