Commit Graph

22 Commits

Author SHA1 Message Date
Pierre Joye
7722455726 Fixed #72339 Integer Overflow in _gd2GetHeader() resulting in heap overflow 2016-06-18 20:15:10 +02:00
Stanislav Malyshev
61c7a06e7c Fix memory leak 2016-04-26 22:54:58 -07:00
Stanislav Malyshev
b15f0ecc0f Fix for bug #71912 (libgd: signedness vulnerability) 2016-04-18 22:24:16 -07:00
Pierre Joye
c25d7f249a - MFB: silent compiler warnings 2006-11-04 14:29:00 +00:00
Pierre Joye
8c0dc5a856 - #38212, Segfault on invalid imagecreatefromgd2part() parameters 2006-07-26 08:51:53 +00:00
foobar
b385e0ad39 Nuke EOLs from error messages 2005-08-18 12:54:32 +00:00
Ilia Alshanetsky
8b079070a3 Synchronized bundled GD library with GD 2.0.22. 2004-03-29 18:20:33 +00:00
Ilia Alshanetsky
36db28c8db CS fixes. 2003-12-28 20:11:08 +00:00
Ilia Alshanetsky
8d6cfb797b Synchronized bundled GD library with GD 2.0.17
. GD is now thread-safe thanks to wrappers around freetype library
 . Significant optimization to png writing code.
 . Miscellaneous fixes.
Fixed memory leak inside php_imagettftext_common()
Make ext/gd compile with GD 2.0.17+ (gdFreeFontCache() is not avaliable)
2003-12-25 22:12:12 +00:00
Ilia Alshanetsky
7a35766dec Integer overflow checks. 2003-06-03 23:23:21 +00:00
Ilia Alshanetsky
61026e391c Syncronized bunbled GD library with gd 2.0.12
# One very useful feature that I still need to add support for in our
# interface to the lib is the support for png compression for imagepng().
2003-04-05 17:23:55 +00:00
Ilia Alshanetsky
199ae10f01 Whitespace fixes. 2003-03-14 16:56:38 +00:00
Ilia Alshanetsky
169eb85e0a Syncronize bundled GD library with latest GD (2.0.11). 2003-01-17 18:34:07 +00:00
Ilia Alshanetsky
b08f247f32 Fixed a crash that occurs during the last step of png/jpeg -> gd2 -> png/jpeg
conversion. The same crash still occures with png/jpeg -> gd -> png/jpeg, because
apparently gd format cannot handle truecolor images.
Turned off debug messages inside gd_gd2.c.
2002-12-03 15:43:17 +00:00
Marcus Boerger
fa38a6af6f No more (f)printf for errors and warnings instead use php_error_docref. 2002-12-01 11:43:54 +00:00
Marcus Boerger
0a7487e32d Conversion fixes 2002-11-28 22:48:20 +00:00
Ilia Alshanetsky
c330fdc1a1 Removed un-needed zlib check. 2002-11-25 14:25:52 +00:00
Ilia Alshanetsky
9251486567 Synchronized bundled gd library with the latest stable GD, 2.0.6
Fixed a configuration problem with xpm.
Fixed 2 possible memory leaks in fontFetch().
2002-11-25 01:51:53 +00:00
Marcus Boerger
b06085dd46 fix warnings 2002-11-12 13:12:58 +00:00
Rasmus Lerdorf
a24534a1ed Update bundled gd library with relevant changes from gd-2.0.4
I still need to add a configure check for the gdIOCtx struct
changes so building against older external gd libs will work again.
2002-10-29 23:08:01 +00:00
Marcus Boerger
1723861618 try to fix those warnings.....
#this code must come from hell: will we change code to our coding-scheme?
2002-08-11 13:50:27 +00:00
Rasmus Lerdorf
7a8cade379 Initial commit of the built-in libgd based on GD-2.0.1
This initial checkin has no changes to any of the libgd code so it can
be used as a basis for diffs.  It also will not build currently because
of this.  The PHP gd checks need to be incorporated along with a bit of
other config magic.  It also shouldn't break the build and will only
take effect if you use --with-gd=php right now.
2002-04-13 02:03:09 +00:00