]> git.ipfire.org Git - thirdparty/zstd.git/commit
Fix -Wstringop-overflow warning
authorNick Terrell <terrelln@fb.com>
Fri, 20 Jan 2023 19:29:52 +0000 (11:29 -0800)
committerNick Terrell <nickrterrell@gmail.com>
Mon, 23 Jan 2023 18:12:25 +0000 (10:12 -0800)
commitdc2b3e887607fed7545f3003ce755e918d75999a
treea48bbf1dc20a5e0f290fc75cc90a0772530c2d67
parent6aee603d0e3ad178d8fe6be1f6107f5ca3c8df39
Fix -Wstringop-overflow warning

Backported from kernel patch [0].

I wasn't able to reproduce the warning locally, but could repro it in
the kernel.

[0] https://lore.kernel.org/lkml/20220330193352.GA119296@embeddedor/
lib/decompress/huf_decompress.c