CVSROOT: /cvs Module name: src Changes by: t...@cvs.openbsd.org 2022/08/10 13:17:26
Modified files: lib/libz : Tag: OPENBSD_7_0 inflate.c gnu/usr.bin/perl/cpan/Compress-Raw-Zlib/zlib-src: Tag: OPENBSD_7_0 inflate.c Log message: Fix buffer overflow in inflateGetHeader() This is the initial fix combined with a fix for a NULL deref introduced in the initial fix. ok millert, help from tj commit eff308af425b67093bab25f80f1ae950166bece1 Author: Mark Adler <f...@madler.net> Date: Sat Jul 30 15:51:11 2022 -0700 Fix a bug when getting a gzip header extra field with inflate(). If the extra field was larger than the space the user provided with inflateGetHeader(), and if multiple calls of inflate() delivered the extra header data, then there could be a buffer overflow of the provided space. This commit assures that provided space is not exceeded. https://github.com/madler/zlib/commit/eff308af425b67093bab25f80f1ae950166bece1 commit 1eb7682f845ac9e9bf9ae35bbfb3bad5dacbd91d (HEAD -> develop, origin/develop) Author: Mark Adler <f...@madler.net> Date: Mon Aug 8 10:50:09 2022 -0700 Fix extra field processing bug that dereferences NULL state->head. The recent commit to fix a gzip header extra field processing bug introduced the new bug fixed here. https://github.com/madler/zlib/commit/1eb7682f845ac9e9bf9ae35bbfb3bad5dacbd91d this is patches/7.0/common/024_zlib.patch.sig