]> git.ipfire.org Git - thirdparty/zstd.git/commit
removed FlexArray pattern from CCtxPool
authorYann Collet <yann.collet.73@gmail.com>
Sun, 8 Oct 2023 03:19:45 +0000 (20:19 -0700)
committerYann Collet <yann.collet.73@gmail.com>
Sun, 8 Oct 2023 04:30:08 +0000 (21:30 -0700)
commite8ff7d18ebdb7af55ad73f92c5192e74bdc85ca2
tree1f63ee6d2ec417a055607e520ee5f58c14f8fe8b
parentc692b8d12d08eb3e460f99b43a7568ebbcb27acb
removed FlexArray pattern from CCtxPool

within ZSTDMT_.
This pattern is flagged by less forgiving variants of ubsan
notably used during compilation of the Linux Kernel.

There are 2 other places in the code where this pattern is used.
This fixes just one of them.
lib/compress/zstd_compress.c
lib/compress/zstdmt_compress.c
tests/fuzzer.c