Commit Graph

19 Commits

Author SHA1 Message Date
Pierre Joye
c4b5196d0b - #41630, fix segfault when an invalid color index is present in the image
data
2007-06-07 21:07:33 +00:00
Pierre Joye
539be2cc81 - do not try to use the global color map when none was found (Nuno, Pierre)
- free im on error
2007-04-04 11:40:11 +00:00
Pierre Joye
e4749c609c - Sync with gd 2.0.35 (bug #52, #60 and #66)
- Improve TS of gif loading code (Roman Nemecek, Nuno, Pierre)
 - a frame size must be confined to the screen defition (Pierre)
 - be sure to always read the dimensions in the frame and does not use
   the screen size (see #66 for a side effect) (Pierre)
- Update #37360 test. The frame does not fit the logical screen (specs
  tell that it must fit) (Pierre)
2007-04-04 01:34:50 +00:00
Nuno Lopes
5116b67016 fix thread unsafety in the gif reader code (merge from libgd cvs) 2007-03-08 20:24:53 +00:00
Nuno Lopes
7b37c41384 fix access to non initialized memory (check valgrind reports on http://gcov.php.net) 2007-03-02 18:41:25 +00:00
Ilia Alshanetsky
9783f5f1f3 strncpy() -> strlcpy() 2007-02-24 18:00:56 +00:00
Pierre Joye
2a06ce8518 - #38112, add test and use MAX_LWZ_BITS instead of the value 2006-07-17 14:30:21 +00:00
Pierre Joye
17f6ae66ce - #38112, corrupt GIF segfaults, test will follow 2006-07-16 11:07:31 +00:00
Pierre Joye
3bad805e35 - more CS 2006-05-08 12:06:59 +00:00
Pierre Joye
4428076eae - MFH: #37360, bad gif size 2006-05-08 11:50:47 +00:00
Pierre Joye
570511c9b2 - CS (spaces > tabs) 2006-05-08 11:12:49 +00:00
Pierre Joye
52619b8427 - #37346, invalid colormap format 2006-05-07 16:37:40 +00:00
Pierre Joye
c81c189198 - MFH #33220, infinite loop while loading invalid GIF (nlopees) 2005-09-24 14:39:16 +00:00
foobar
75d362225c MFH 2005-08-18 12:54:44 +00:00
Ilia Alshanetsky
36db28c8db CS fixes. 2003-12-28 20:11:08 +00:00
Ilia Alshanetsky
c13be6e6d5 Last set of integer overflow checks. 2003-06-03 23:42:31 +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
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
Rasmus Lerdorf
72d90fc41c As discussed a while ago, decoding GIF images is not considered a Unisys
LZW patent violation so we can distribute read-only GIF support with
our bundled GD2.  The patent also expires in 2003, which is quickly
approaching, so we can roll in write support soon unless things change.
2002-10-06 06:03:17 +00:00