php-src/ext/gd/libgd
Christoph M. Becker f67d599a01 Fix #73968: Premature failing of XBM reading
We must take into account the line padding, when we're reading XBM
files.

We deliberately ignore the potential integer overflow here, because
that would be caught by gdImageCreate() or even earlier if `bytes==0`,
what happens in libgd00094.phpt which we adapt accordingly.
2017-01-21 13:04:36 +01:00
..
COPYING
gd2copypal.c
gd2time.c
gd2topng.c
gd_arc_f_buggy.c typo fixes - https://github.com/vlajos/misspell_fixer 2014-11-23 14:52:47 -08:00
gd_arc.c Fix #68714: copy 'n paste error 2015-07-12 16:32:38 +02:00
gd_color.c
gd_crop.c Fix #72494: imagecropauto out-of-bounds access 2016-10-25 14:29:48 +02:00
gd_filter.c
gd_gd2.c Fix #73869: Signed Integer Overflow gd_io.c 2017-01-17 09:30:58 +01:00
gd_gd.c
gd_gif_in.c trailing whitespace removal 2015-01-10 15:07:38 -08:00
gd_gif_out.c fix #72519, possible OOB using imagegif 2016-07-19 00:37:53 -07:00
gd_intern.h
gd_interpolation.c Fix #73279: Integer overflow in gdImageScaleBilinearPalette() 2016-10-10 11:41:39 +02:00
gd_io_dp.c Fix #73280: Stack Buffer Overflow in GD dynamicGetbuf 2016-10-13 11:10:02 +02:00
gd_io_file.c
gd_io_ss.c
gd_io.c
gd_io.h
gd_jpeg.c trailing whitespace removal 2015-01-10 15:07:38 -08:00
gd_matrix.c
gd_pixelate.c
gd_png.c
gd_rotate.c Fix #73893: A hidden danger of death cycle in a function of gd 2017-01-10 19:52:06 +01:00
gd_security.c
gd_ss.c
gd_topal.c Fix #67325: imagetruecolortopalette: white is duplicated in palette 2016-09-03 19:50:42 +02:00
gd_transform.c
gd_wbmp.c
gd_webp.c Merge branch 'PHP-5.6' into PHP-7.0 2016-09-16 11:41:42 +02:00
gd.c Fix #72696: imagefilltoborder stackoverflow on truecolor images 2016-11-01 13:07:37 +01:00
gd.h Fix #73893: A hidden danger of death cycle in a function of gd 2017-01-10 19:52:06 +01:00
gdcache.c
gdcache.h Reduce downstream patches 2015-03-22 21:33:45 -07:00
gddemo.c
gdfontg.c
gdfontg.h
gdfontl.c
gdfontl.h
gdfontmb.c
gdfontmb.h
gdfonts.c
gdfonts.h
gdfontt.c
gdfontt.h
gdft.c Merge branch 'PHP-5.6' into PHP-7.0 2016-09-20 01:25:08 +02:00
gdhelpers.c
gdhelpers.h trailing whitespace removal 2015-01-10 15:07:38 -08:00
gdkanji.c Merge branch 'PHP-5.6' into PHP-7.0 2016-07-23 16:55:16 +02:00
gdparttopng.c
gdtables.c
gdtest.c
gdtestft.c
gdtopng.c
gdxpm.c Fixed conditional jump or move depends on uninitialised value(s) 2015-07-02 19:02:49 +08:00
jisx0208.h
mathmake.c
pngtogd2.c
pngtogd.c
README
testac.c
wbmp.c
wbmp.h
webpng.c
xbm.c Fix #73968: Premature failing of XBM reading 2017-01-21 13:04:36 +01:00

This directory contains the GD library available from 
http://www.boutell.com/gd/

The inclusion of this library with PHP is in response to the 
popularity of the GD extension and the GD library itself.  We felt
it would be worthwhile to make sure everyone had access to the
features of GD and by bundling GD with PHP we have a known target to
work against.

In addition to the above, a number of motivated PHP hackers have
expressed an interest in extending the functionality of the PHP-GD
combination.  By putting a version of GD into PHP CVS we have provided
a sandbox for them to throw sand at each other in.  Any and all
improvements we make to the GD library will be contributed back to the
original maintainers of this library at boutell.com.

The following statement is from the original GD package:

  Credits and license terms
  
   In order to resolve any possible confusion regarding the authorship of
   gd, the following copyright statement covers all of the authors who
   have required such a statement. _If you are aware of any oversights in
   this copyright notice, please contact Thomas Boutell who will be
   pleased to correct them._

COPYRIGHT STATEMENT FOLLOWS THIS LINE

     Portions copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
     by Cold Spring Harbor Laboratory. Funded under Grant P41-RR02188 by
     the National Institutes of Health.
     
     Portions copyright 1996, 1997, 1998, 1999, 2000, 2001 by
     Boutell.Com, Inc.
     
     Portions relating to GD2 format copyright 1999, 2000 Philip Warner.
     
     Portions relating to PNG copyright 1999, 2000 Greg Roelofs.
     
     Portions relating to libttf copyright 1999, 2000 John Ellson
     (ellson@lucent.com).
     
     Portions relating to JPEG and to color quantization copyright 2000,
     Doug Becker and copyright (C) 1994-1998, Thomas G. Lane. This
     software is based in part on the work of the Independent JPEG
     Group. See the file README-JPEG.TXT for more information.
     
     Portions relating to WBMP copyright 2000 Maurice Szmurlo and Johan
     Van den Brande.
     
     _Permission has been granted to copy, distribute and modify gd in
     any context without fee, including a commercial application,
     provided that this notice is present in user-accessible supporting
     documentation._
     
     This does not affect your ownership of the derived work itself, and
     the intent is to assure proper credit for the authors of gd, not to
     interfere with your productive use of gd. If you have questions,
     ask. "Derived works" includes all programs that utilize the
     library. Credit must be given in user-accessible documentation.
     
     _This software is provided "AS IS."_ The copyright holders disclaim
     all warranties, either express or implied, including but not
     limited to implied warranties of merchantability and fitness for a
     particular purpose, with respect to this code and accompanying
     documentation.
     
     Although their code does not appear in gd 2.0.1, the authors wish
     to thank David Koblas, David Rowley, and Hutchison Avenue Software
     Corporation for their prior contributions.
     
END OF COPYRIGHT STATEMENT