Commit Graph

228 Commits

Author SHA1 Message Date
Pierre Joye
fa3f2f7ead - MFB: #43790, fix crash when no family name has been found 2008-01-09 01:52:03 +00:00
Sebastian Bergmann
9b620d50b4 Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +00:00
Mattias Bengtsson
7e0ca9e1d7 -MFB, Fixed Bug #43121 (gdImageFill with IMG_COLOR_TILED crashes httpd) 2007-11-04 23:57:07 +00:00
Mattias Bengtsson
f2b8a75004 -MFB, Be paranoid and dont allow multiplication with zero 2007-10-23 01:58:41 +00:00
Pierre Joye
32a5a95752 - MFB 2007-09-11 21:31:14 +00:00
Pierre Joye
9dfdaac244 - MFB:
- gdImageTileApply does not respect transparent color
 - gdImageArc regression
 - Alpha channel support for gdImageColor (IMG_FILTER_COLORIZE)
2007-09-11 21:07:04 +00:00
Nuno Lopes
0006462a5b MFB: malloc+memset == calloc
# this was sitting here for quite a looong time..
2007-09-03 14:34:42 +00:00
Pierre Joye
268386674a - gd #106, imagerectangle draws 1x1 rectangles as 1x3 rectangles 2007-08-26 20:33:22 +00:00
Mattias Bengtsson
94bf93f531 -MFB: libgd #101, imagecreatefromgd can crash if gdImageCreate fails 2007-08-09 14:22:38 +00:00
Mattias Bengtsson
3b8fc04079 -MFB: libgd #94, imagecreatefromxbm can crash if gdImageCreate fails 2007-08-09 12:09:30 +00:00
Pierre Joye
bf11cccf75 - Re commit "sync with libgd: improve _gdImageFillTiled()", I reverted
it in my previous commit
2007-06-17 17:14:02 +00:00
Pierre Joye
fd8baff90a - MFB: Drop useless tests (Daniel Diaz) 2007-06-17 17:12:46 +00:00
Pierre Joye
a05b93e5fc - #41717, imagepolygon does not respect thickness
(sync with libgd)
2007-06-17 10:53:33 +00:00
Nuno Lopes
5da2f6e7de MFB: sync with libgd: improve _gdImageFillTiled() 2007-06-15 19:50:05 +00:00
Pierre Joye
f1ef64401e - MFB: Fixed regression introduced by the fix for the libgd bug #74 2007-06-14 19:18:00 +00:00
Pierre Joye
7114e613d8 - MFB: #41630, fix segfault when an invalid color index is present in the
image data
2007-06-08 05:25:52 +00:00
Antony Dovgal
144b05cdd0 fix several integer overflows in GD 2007-06-06 09:43:39 +00:00
Pierre Joye
d6eb2e1c46 - @DOC add constants GD_MAJOR_VERSION, GD_MINOR_VERSION, GD_RELEASE_VERSION
GD_EXTRA_VERSION and GD_VERSION_STRING
- fix #ifdef else clause
2007-06-03 17:43:13 +00:00
Pierre Joye
69dca143c9 - libgd #86: Fixed possible infinite loop in libgd/gd_png.c
(Reported by Xavier Roche)
2007-05-16 22:16:22 +00:00
Scott MacVicar
fef929f044 Fixed bug #40130 (TTF usage doesn't work properly under Netware) 2007-04-23 15:06:13 +00:00
Pierre Joye
e24e904efb - libgd #74, gdImageFilledArc, huge CPU usage with large angles 2007-04-14 17:30:51 +00:00
Nuno Lopes
5e50336e7e MFB: fix race condition on font cache shutdown 2007-04-04 14:26:04 +00:00
Pierre Joye
19ac790b35 - MFH:
- do not try to use the global color map when none was found (Nuno, Pierre)
 - free im on error
2007-04-04 11:42:54 +00:00
Pierre Joye
a110d07c96 - fix previous commit (missing #ifdef in shutdown declaration)
- MFB:
 - 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:54:34 +00:00
Pierre Joye
1cd4938ef5 - remove double lock (tween colors cache is created in each thread, the
cache mutex is already locked earlier)
- #40858, other TS improvements for gd freetype cache management
  cache initialization and shutdown is now done in MINIT and MSHUTDOWN.
2007-04-04 00:44:38 +00:00
Pierre Joye
02f5db029d - MFB: colors allocated henceforth from the resulting image overwrite
the palette colors (sync with 2.0.34) (Rob Leslie)
2007-04-04 00:41:08 +00:00
Pierre Joye
37ad5f77df - CVE-2007-1001, integer overflow with invalid wbmp images 2007-03-10 12:16:19 +00:00
Pierre Joye
01c8b39ab8 - MFB: #40764, line thickness not respected for horizontal and vertical
lines
2007-03-10 01:23:42 +00:00
Nuno Lopes
78f33b160a MFB: fix thread unsafety in the gif reader code (merge from libgd cvs) 2007-03-08 20:26:48 +00:00
Nuno Lopes
9777b3a933 MFB
#Pierre: libgd isn't affected. this problem was caused by the recent conversion to strlcpy()
2007-03-02 18:46:16 +00:00
Nuno Lopes
ea624e97e5 MFB 2007-03-01 18:41:45 +00:00
Pierre Joye
519e18a2c3 - MFB: sync with libgd.org, patch from Kees Cook 2007-02-25 02:56:03 +00:00
Marcus Boerger
20a40063c5 - avoid sprintf 2007-02-24 16:25:58 +00:00
Pierre Joye
7d437feb83 - MFB: #40578, fix the 2nd race condition on shutdown when the cache is
freed
2007-02-23 01:02:57 +00:00
Antony Dovgal
c3b7cb1901 fix #40578 (imagettftext() multithreading issue) 2007-02-21 14:59:36 +00:00
Pierre Joye
198fdf319d - MFB: save/restore the alpha blending mode correctly in imagefill and
imagefilltoborder
2007-01-19 15:16:46 +00:00
Nuno Lopes
b1f02b95ce MFB 2007-01-13 11:22:44 +00:00
Nuno Lopes
8cf3db93ad MFB 2007-01-13 11:16:53 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Pierre Joye
df5d4a52f9 - MFB: #39508, imagefill crashes with small image 2006-12-10 02:08:07 +00:00
Pierre Joye
ad5d1383de - #39780, PNG image with CRC/data error raises fatal error 2006-12-10 01:28:01 +00:00
Pierre Joye
4f2e67121d - MFH: Merge from gd-cvs, initialize the signature not the infile ctx 2006-11-05 15:06:50 +00:00
Pierre Joye
20f1d35048 - Fixed filter argument for imagepng in gdImagePngEx 2006-11-04 14:34:04 +00:00
Pierre Joye
75f4f96203 - MFB: vim folding 2006-11-04 14:32:23 +00:00
Pierre Joye
c25d7f249a - MFB: silent compiler warnings 2006-11-04 14:29:00 +00:00
Pierre Joye
5334153117 - ws 2006-11-04 14:22:23 +00:00
Pierre Joye
3475bd62e0 - #39366, imagerotate does not use alpha with angles>45 2006-11-04 03:12:36 +00:00
Pierre Joye
799e6c0e98 - MFB: #39273, imagecopyresized and alpha channel 2006-11-04 02:23:45 +00:00
Pierre Joye
2e1b7b03f8 - don't check signature if the file is empty (valgrind reports with test
001), thx Tony for the head up
2006-10-11 00:21:33 +00:00
Pierre Joye
66cd47d5e9 - MFB: imagefill(), infinite loop with wrong color index 2006-09-28 08:52:23 +00:00