Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
backports of multiple bug fixes from 2.0:
3999783e (r340): bug 1413 - Fix image corruption when using ImageIO framework 5bf0f0d6 (r343), 326a6025 (r361): fixes from VS code analysis and code review 2742fe58 (r355), 1e7a55d7 (r356). dd40be56 (r358): support for webp on big endian systems ce8091ca (r365): bug 1801 - typo in the xcf decoder, condition is always false 35beff02 (r369): bug 1831 - Memory leak issue in SDL_image-1.2.12/IMG_xpm.c file 1700d607 (r415): bug 1991 - XCF and LBM image loading [only the memory leak parts.] e108e122 (r419): bug 2010 - Memory leaks in do_layer_surface function in IMG_xcf.c 7a360f7d (r436): bug 2295 - Memory leak in IMG_LoadWEBP_RW ee17b8eb (r443): bug 2454 - Crash when loading some XPM files bca82f1c (r476): proper fix for Bugzilla #2965. fd721465 (r490): crash if some initialization succeeded and some didn't 915de300 (r492): bug 3474 - IMG_tif leaks memory on errors b6f8fbe5 (r493): bug 3475 - Remove unnecessary loop from IMG_tif.c d3e819a0 (r499): bug 2318 - h->cm_map resource getting leak in read_xcf_header function 1e32e1f4 (r503): bug 3008 - Compiler warnings: "warning: initialization discards 'const' 318484db (r513): security vulnerability in XCF image loader 181ef57f (r530): failing to reset the file pointer when detecting file types with ImageIO 16772bbb (r555): lbm: use correct variable to check color planes. 97f7f01e (r556): lbm: Fail to load images with unsupported/bogus color depth. bfa08dc0 (r557): lbm: Don't overflow static colormap buffer. a1e9b624 (r558): ico: reject obviously incorrect image sizes. 37445f61 (r559): bmp: don't overflow palette buffer with bogus biClrUsed values. 7df1580f (r560): xcf: deal with bogus data in rle tile decoding. 45e750f9 (r563): gif: report error on bogus LWZ data, instead of overflowing a buffer. 2938fc80 (r567): pcx: don't overflow buffer if bytes-per-line is less than image width. c5f9cbb5 (r568): xcf: Prevent infinite loop and/or buffer overflow on bogus data. fb643e37 (r569): xcf: check for some potential integer overflows. 170d7d32 (r585): potential buffer overflow on corrupt or maliciously-crafted XCF file. 19beb4a1 (r586): Don't get into infinite loops on truncated GIF files. 32a18ca0 (r587): Don't get into infinite loops on truncated PNM files. 8b4ee1d7 (r590): memory leak in IMG_xcf.c 90a531f2 (r591): PNM: Improve checks when loading a file 31263a04 (r592): XCF: check if there's sufficient data in the stream before allocating cec9b759 (r593): More error checking, and null terminate strings...
- Loading branch information
Showing
14 changed files
with
286 additions
and
119 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.