Re: git: dc3509f1aafc - main - zlib: Fix a bug when getting a gzip header extra field with inflate().

From: Ed Maste <emaste_at_freebsd.org>
Date: Fri, 05 Aug 2022 15:48:11 UTC
On Fri, 5 Aug 2022 at 09:34, Ed Maste <emaste@freebsd.org> wrote:
>
> The branch main has been updated by emaste:
>
> URL: https://cgit.FreeBSD.org/src/commit/?id=dc3509f1aafcd966f3dd9226115cf94b691ff3c7
>
> commit dc3509f1aafcd966f3dd9226115cf94b691ff3c7
> Author:     Mark Adler <fork@madler.net>
> AuthorDate: 2022-07-30 22:51:11 +0000
> Commit:     Ed Maste <emaste@FreeBSD.org>
> CommitDate: 2022-08-05 02:30:20 +0000
>
>     zlib: Fix a bug when getting a gzip header extra field with inflate().

For reference, this is CVE-2022-37434. Code to demonstrate the flaw is
available at https://github.com/ivd38/zlib_overflow
Found by "EL of @intevydis"