u-boot/lib/zlib
Tom Rini 2e2e784de0 zlib: Port fix for CVE-2018-25032 to U-Boot
While our copy of zlib is missing upstream commit 263b1a05b04e ("Allow
deflatePrime() to insert bits in the middle of a stream.") we do have
Z_FIXED support, and so the majority of the code changes in 5c44459c3b28
("Fix a bug that can crash deflate on some input when using Z_FIXED.")
apply here directly and cleanly.  As this has been assigned a CVE, lets
go and apply these changes.

Link: 5c44459c3b
Reported-by: "Gan, Yau Wai" <yau.wai.gan@intel.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
2022-06-06 17:47:17 -04:00
..
adler32.c lib/zlib: sparse fixes 2012-11-04 11:00:36 -07:00
deflate.c zlib: Port fix for CVE-2018-25032 to U-Boot 2022-06-06 17:47:17 -04:00
deflate.h zlib: Port fix for CVE-2018-25032 to U-Boot 2022-06-06 17:47:17 -04:00
inffast.c Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
inffast.h zlib: split up to match original source tree 2011-04-30 20:21:45 +02:00
inffixed.h zlib: split up to match original source tree 2011-04-30 20:21:45 +02:00
inflate.c lib/zlib: sparse fixes 2012-11-04 11:00:36 -07:00
inflate.h zlib: split up to match original source tree 2011-04-30 20:21:45 +02:00
inftrees.c lib: zlib: Remove offset pointer optimization in inftrees.c 2020-07-17 08:51:29 -04:00
inftrees.h zlib: split up to match original source tree 2011-04-30 20:21:45 +02:00
Makefile SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
trees.c zlib: Port fix for CVE-2018-25032 to U-Boot 2022-06-06 17:47:17 -04:00
trees.h lib: zlib: import trees file from 1.2.5 2012-09-29 07:26:08 -07:00
uncompr.c include/u-boot, lib/zlib: add sources for zlib decompression 2020-08-07 22:31:32 -04:00
zlib.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
zlib.h Replace <compiler.h> with <linux/compiler.h> 2014-12-08 09:35:46 -05:00
zutil.c common: Move hang() to the same header as panic() 2020-01-17 17:53:40 -05:00
zutil.h Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00