summaryrefslogtreecommitdiffstats
path: root/generic/tkImgGIF.c
Commit message (Collapse)AuthorAgeFilesLines
* Change size_t usages to (internal type) TkSizeT usages, which is "int" when ↵jan.nijtmans2019-04-041-2/+2
| | | | compiling against 8.x headers.
* Merge 8.6jan.nijtmans2019-03-151-1/+1
|\
| * Make Tk run on win32/win64 using -DTCL_UTF_MAX=6. Adapted from androwish.jan.nijtmans2019-03-151-1/+1
| |
* | gif read not complete on overflow image - information missinterpreted if ↵oehhar2019-03-051-1/+20
|\ \ | |/ | | | | following subimage is querried [4da2191b]
| * gif read not complete on overflow image - information missinterpreted if ↵oehhar2019-02-031-1/+20
| | | | | | | | following subimage is querried [4da2191b]
* | More preparation for TIP #494 compatibitly. Add 2 utility functions, which ↵jan.nijtmans2018-08-111-4/+4
| | | | | | | | can retreive big strings and ByteArrays without length overflow.
* | Fix [fbaed1f66b]: [image create photo] errors out on a sane animated giffvogel2018-07-271-25/+21
|\ \ | |/
| * Fix [fbaed1f66b]: [image create photo] errors out on a sane animated giffvogel2018-07-211-25/+21
| |
* | Make Tk sufficiently 64-bit aware in order to withstand TIP #494 possible ↵jan.nijtmans2018-07-101-8/+8
| | | | | | | | problems
* | Ongoing work (not finished yet) making Tk fully 64-bit size_t aware (see TIP ↵jan.nijtmans2018-07-091-16/+16
|/ | | | #494) without compatibility macros
* Fix [b601ce3ab1]: A corrupted image can cause resource exhaustion. Patch ↵fvogel2017-08-021-0/+1
|\ | | | | | | from Keith Nash.
| * Fixed [b601ce3ab1]: A corrupted image can cause resource exhaustion. Patch ↵fvogel2017-06-021-0/+1
| | | | | | | | for core-8-5-branch from Keith Nash
* | Fixed broken trunk caused by "signed/unsigned mismatch" compiler error on ↵fvogel2015-06-011-2/+2
| | | | | | | | Windows, introduced by [4fe3c06b97] and [07622d5618]
* | [dece631375] More mem alloc overflow check and init with proper unsigneds.dgp2015-05-201-2/+13
| |
* | Initialize memory to stop valgrind notices about conditionals dependent ondgp2015-05-201-0/+7
| | | | | | reads from uninit memory.
* | more places convertedjan.nijtmans2013-01-241-1/+1
| |
* | Merge core-8-5-branchjan.nijtmans2013-01-241-2/+2
|\ \ | |/ | | Various Tcl_GetIndexFromObj -> Tcl_GetIndexFromObjStruct changes.
* | Much more cleaning up of result handling.dkf2012-07-231-33/+36
| |
* | Working towards adding all the Tcl_SetErrorCode calls that should be there.dkf2012-07-161-0/+20
| | | | | | ** WORK IN PROGRESS **
* | Purge RCS Keywordsdgp2011-06-081-2/+0
|\ \ | |/
| * Purge RCS Keywords.dgp2011-06-081-2/+0
| |\
| | * Purge RCS Keywords.dgp2011-06-081-2/+0
| | |
| | * * generic/tkImgGIF.c: Fixed a buffer overflow (CVE-2006-4484).rmax2008-02-011-1/+7
| | | | | | | | | | | | * tests/imgPhoto.test: Added a test for the above.
| | * * generic/tkImgGIF.c: Fixed a buffer overrun that got triggered byrmax2007-09-111-2/+2
| | | | | | | | | | | | | | | | | | | | | multi-frame interlaced GIFs that contain subsequent frames that are smaller than the first one. * tests/imgPhoto.test: Added a test for the above.
| | * Fix (and add test for) [Bug 1458234]dkf2006-03-271-14/+14
| | |
| | * * generic/tkImgGIF.c: cast calls to block_outhobbs2005-12-011-3/+3
| | |
| | * Plug a buffer overflow in the GIF readerdkf2005-06-201-22/+33
| | |
| | * * generic/tkImgGIF.c (FileReadGIF): fix crash reported by Reinhard Max:das2004-07-271-4/+5
| | | | | | | | | | | | | | | in case of premature end of image data, return error instead of passing nil buffer to Tk_PhotoPutBlock().
* | | Remove casts from uses of ckalloc/ckfree/... now that Tcl declares them to bedkf2011-03-121-6/+6
| | | | | | | | | using useful casts internally.
* | | * generic/tkImgGIF.c (StringWriteGIF): Added ability to write a GIF todkf2010-07-181-318/+370
| | | | | | | | | | | | | | | | | | a string (as a byte array, of course) following comments on c.l.t by Aric Bills. Also improved readability of some of the function and field names in this file.
* | | Formattingnijtmans2010-04-231-12/+9
| | | | | | | | | | | | | | | | | | typo fixes remove not existing tkDisplayList; Useless re-definitions of TCL_STORAGE_CLASS
* | | fix more gcc warnings: missing initializernijtmans2010-01-181-1/+2
| | | | | | | | | | | | | | | Apply patch [#2932808]: Canvas items not updating on widget state change
* | | Add "const" to many internalnijtmans2008-10-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | const tables, so those will be put by the C-compiler in the TEXT segment in stead of the DATA segment. This makes those table sharable in shared libraries.
* | | Get rid of pre-C89-isms (esp. CONST vs const).dkf2008-04-271-148/+177
| | |
* | | Let the GIF writer use a real LZW compressor.nijtmans2008-04-091-444/+321
| | |
* | | a little cleanup, in preparation for replacing the gif compressor with a ↵nijtmans2008-04-091-92/+85
|/ / | | | | | | real LZW one.
* | * generic/tkImgGIF.c: Fixed a buffer overflow (CVE-2006-4484).rmax2008-02-011-1/+7
| | | | | | | | * tests/imgPhoto.test: Added a test for the above.
* | merge stable branch onto HEADdgp2007-12-131-1/+1
| |
* | fix warningsdas2007-09-181-3/+3
| |
* | Yet another step in the tidying up of the GIF code.dkf2007-09-181-138/+169
| |
* | * generic/tkImgGIF.c: Fixed a buffer overrun that got triggered byrmax2007-09-111-2/+2
| | | | | | | | | | | | | | multi-frame interlaced GIFs that contain subsequent frames that are smaller than the first one. * tests/imgPhoto.test: Added a test for the above.
* | header cleanupdgp2007-09-071-2/+1
| |
* | Quell type-punning warnings from gcc/unix builddkf2007-01-121-5/+5
| |
* | Many minute fixes to reduce number of minor warnings from GCC.dkf2007-01-111-10/+12
| |
* | * generic/tkImgGIF.c (ReadImage):das2006-07-201-3/+3
| | | | | | | | | | | | | | | | * macosx/tkMacOSXCursor.c (TkMacOSXCursor): * macosx/tkMacOSXDebug.c (TkMacOSXGetNamedDebugSymbol): * macosx/tkMacOSXInit.c (Map): * xlib/xgc.c (XCreateGC): fix signed-with-unsigned comparison and other warnings from gcc4 -Wextra.
* | Fix (and add test for) [Bug 1458234]dkf2006-03-271-13/+13
| |
* | * generic/tkImgGIF.c: cast calls to blockOuthobbs2005-12-011-3/+3
| |
* | ANSIfy and reduce casting of NULL to promote readabilitydkf2005-11-171-201/+190
| |
* | Getting more systematic about styledkf2005-08-101-131/+162
| | | | | | | | | | Also start removing _ANSI_ARGS_; the core's required ANSI C for a while now Also fix [Bug 1252702]; size_t doesn't mix with Tcl_GetStringFromObj
* | Typosdkf2005-06-191-5/+5
| |