summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg_utils.c
diff options
context:
space:
mode:
authorChristoph M. Becker <cmb@php.net>2015-07-23 18:13:47 +0200
committerChristoph M. Becker <cmb@php.net>2015-07-23 18:31:28 +0200
commit87829c09a1d9e39bee994460d7ccf19dd20eda14 (patch)
tree223ae10d7283266ac65b47a11cc7f7fe72bb160f /sapi/phpdbg/phpdbg_utils.c
parent91f985b2f9b5ba03d7b98bdaa710331c115f6a70 (diff)
downloadphp-git-87829c09a1d9e39bee994460d7ccf19dd20eda14.tar.gz
Fix #70052: getimagesize() fails for very large and very small WBMP
Very large WBMP (width or height greater than 2**31-1) cause an overflow and circumvent the size limitation of 2048x2048 px. Very small WBMP (less than 12 bytes) cause a read error and are not recognized. This patch fixes both bugs.
Diffstat (limited to 'sapi/phpdbg/phpdbg_utils.c')
0 files changed, 0 insertions, 0 deletions