]> git.ipfire.org Git - thirdparty/zlib-ng.git/commit
Fix UB in inffast.c when not using window
authorOri Livneh <ori.livneh@gmail.com>
Mon, 23 Aug 2021 16:40:19 +0000 (12:40 -0400)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Fri, 24 Dec 2021 11:52:14 +0000 (12:52 +0100)
commita9f2e153756d9828378200a2f1a05b4e41dec0d2
tree279aa2a5cbdb5c6f324293c530988e9d00f1512c
parentcdc8033a45ff2276676e434a0b22a4230a28071a
Fix UB in inffast.c when not using window

When not using window, `window + wsize` applies a zero offset to a null pointer, which is undefined behavior.
inffast.c