Project

General

Profile

Actions

Bug #87954

closed

Division by zero in GraphicalFunctions class when image is scaled but input dimensions are zero

Added by Claus Due over 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Image Generation / GIFBUILDER
Target version:
-
Start date:
2019-03-19
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

The method which scales images lacks guard clauses to protect against division by zero if, for whatever reason (getimagesize return value, improper configuration for desired width/height, etc.) the input dimensions are zero.

Actions

Also available in: Atom PDF