Christoph M. Becker 9abbc3cc6d Fix #73869: Signed Integer Overflow gd_io.c
GD2 stores the number of horizontal and vertical chunks as words (i.e. 2
byte unsigned). These values are multiplied and assigned to an int when
reading the image, what can cause integer overflows. We have to avoid
that, and also make sure that either chunk count is actually greater
than zero. If illegal chunk counts are detected, we bail out from
reading the image.

(cherry picked from commit 5b5d9db3988b829e0b121b74bb3947f01c2796a1)
2017-01-17 20:42:56 +00:00
2017-01-04 11:23:42 -06:00
2017-01-17 18:45:07 +00:00
2017-01-04 11:23:42 -06:00
2017-01-05 14:02:43 +01:00
2017-01-04 13:36:04 +00:00
2015-12-05 22:48:29 +01:00
2017-01-04 11:23:42 -06:00
2017-01-04 11:23:42 -06:00
2017-01-05 00:49:19 +01:00
2016-09-05 14:22:13 +02:00
2015-09-01 14:52:04 -07:00
2015-01-17 18:26:45 +01:00
2016-09-11 13:26:30 +02:00
2016-05-18 17:45:12 +02:00
2014-12-04 17:56:20 +00:00
2017-01-17 18:45:07 +00:00
…
2016-09-13 15:59:12 +02:00
…
2017-01-04 11:23:42 -06:00
2016-04-05 12:13:38 +02:00
2017-01-04 11:23:42 -06:00
…
2015-01-29 14:24:20 +08:00
2017-01-17 19:32:46 +00:00
…
2016-12-16 22:56:23 +01:00
2014-06-05 17:45:22 +02:00
2015-02-07 10:35:52 -06:00
2017-01-04 11:23:42 -06:00
…
…
2016-08-11 08:08:26 +09:00

The PHP Interpreter

This is the github mirror of the official PHP repository located at http://git.php.net.

Build Status Build status

Pull Requests

PHP accepts pull requests via github. Discussions are done on github, but depending on the topic can also be relayed to the official PHP developer mailing list internals@lists.php.net.

New features require an RFC and must be accepted by the developers. See https://wiki.php.net/rfc and https://wiki.php.net/rfc/voting for more information on the process.

Bug fixes do not require an RFC, but require a bugtracker ticket. Always open a ticket at https://bugs.php.net and reference the bug id using #NNNNNN.

Fix #55371: get_magic_quotes_gpc() throws deprecation warning

After removing magic quotes, the get_magic_quotes_gpc function caused
a deprecate warning. get_magic_quotes_gpc can be used to detected
the magic_quotes behavior and therefore should not raise a warning at any
time. The patch removes this warning

We do not merge pull requests directly on github. All PRs will be pulled and pushed through http://git.php.net.

Guidelines for contributors

S
Description
No description provided
Readme
470 MiB
0 Stars 1 Watchers 0 Forks
Languages
C 72.1%
PHP 25.9%
C++ 0.4%
M4 0.4%
Shell 0.3%
Other 0.6%