]> git.ipfire.org Git - thirdparty/zlib-ng.git/commit
If the extra field was larger than the space the user provided with
authorMika Lindqvist <postmaster@raasu.org>
Fri, 19 Aug 2022 12:00:21 +0000 (15:00 +0300)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Mon, 5 Sep 2022 09:27:40 +0000 (11:27 +0200)
commit9309904fe79cd60599259022bd2aab2a3e1fb0d8
tree7f6ffa5eed89247a985f617361fc6246ce7318d7
parentad444f4715242991cf6829083d291496bc176a2f
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.

See #1323.
inflate.c