diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-12-02 10:51:55 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-12-02 10:51:55 +0100 |
commit | a89aaf6c386679492e814cfbb5790142e29692fe (patch) | |
tree | fbcdc8f33e07b02f77955bf9ece6e2b94f2f2f34 /ext/imap/php_imap.c | |
parent | 7a61984a2bf42f2632a8c62245a8496a3e2009cd (diff) | |
download | php-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