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
    • Christian Kuhn +2
  • Verified V +2
    • Christian Kuhn +2

Issues 1

Files 1

Review log 2

  1. Christian Kuhn voted on patch set 1 CR +2 V +2 02/05/15, 22:46

  2. Christian Kuhn merged patch set 1 02/05/15, 22:46