[php-src] PR #16016: Port https://github.com/libgd/libgd/pull/711
| From: | cmb69 | Date: | Mon, 23 Sep 2024 23:15:16 +0000 |
| Subject: | [php-src] PR #16016: Port https://github.com/libgd/libgd/pull/711 | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-28745@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/16016
Author: cmb69
Note that this is not actually security related[1], but still a reasonable sanity check.
"If a function be advertised to return an error code in the event of difficulties, thou shalt
check for that code, yea, even though the checks triple the size of thy code and produce aches in
thy typing fingers, for if thou thinkest it cannot happen to me, the gods shall surely punish thee
for thy arrogance." – Henry Spencer
[1] <https://github.com/libgd/libgd/issues/697#issuecomment-2369613187>