]> git.ipfire.org Git - thirdparty/zstd.git/commit
Remove possible NULL pointer addition 2916/head
authorNick Terrell <terrelln@fb.com>
Wed, 8 Dec 2021 18:57:30 +0000 (10:57 -0800)
committerNick Terrell <terrelln@fb.com>
Wed, 8 Dec 2021 20:40:40 +0000 (12:40 -0800)
commitb94407b6cf3f0f89fa157b0232851dfdb364d389
tree25670de91dde043b14829c59be4a21ac0c45f7d7
parent38dfc4699e1108d839b3222b6093caaad5befd1c
Remove possible NULL pointer addition

Refactor `ZSTDMT_isOverlapped()` to do NULL checks before computing the
end pointer.

Fixes #2906.
lib/compress/zstdmt_compress.c