summaryrefslogtreecommitdiff
path: root/ext/imap/php_imap.c
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-12-02 10:51:55 +0100
committerNikita Popov <nikita.ppv@gmail.com>2020-12-02 10:51:55 +0100
commita89aaf6c386679492e814cfbb5790142e29692fe (patch)
treefbcdc8f33e07b02f77955bf9ece6e2b94f2f2f34 /ext/imap/php_imap.c
parent7a61984a2bf42f2632a8c62245a8496a3e2009cd (diff)
downloadphp-git-a89aaf6c386679492e814cfbb5790142e29692fe.tar.gz
Don't throw from imagecreatefromstring() with too short string
If the string is too short, we should treat this the same way as an unrecognized image type. This function should be usable to determine whether something is a valid image without doing any checks beforehand.
Diffstat (limited to 'ext/imap/php_imap.c')
0 files changed, 0 insertions, 0 deletions