zlib: backport null dereference fix
authorPetr Štetiar <ynezz@true.cz>
Tue, 9 Aug 2022 05:50:19 +0000 (07:50 +0200)
committerPetr Štetiar <ynezz@true.cz>
Tue, 9 Aug 2022 06:08:08 +0000 (08:08 +0200)
commitf443e9de7003c00a935b9ea12f168e09e83b48cd
tree2ce20bbb4f3b8ffcf3f8814a5e792fa749462d76
parenteada8925776aafa3ec47d66fb89bf7eae730edf7
zlib: backport null dereference fix

The curl developers found test case that crashed in their testing when
using zlib patched against CVE-2022-37434, same patch we've backported
in commit 7df6795d4c25 ("zlib: backport fix for heap-based buffer
over-read (CVE-2022-37434)"). So we need to backport following patch in
order to fix issue introduced in that previous CVE-2022-37434 fix.

References: https://github.com/curl/curl/issues/9271
Fixes: 7df6795d4c25 ("zlib: backport fix for heap-based buffer over-read (CVE-2022-37434)")
Signed-off-by: Petr Štetiar <ynezz@true.cz>
package/libs/zlib/patches/007-fix-null-dereference-in-fix-CVE-2022-37434.patch [new file with mode: 0644]