fix #874
authorYann Collet <cyan@fb.com>
Sun, 8 Nov 2020 21:21:58 +0000 (13:21 -0800)
committerYann Collet <cyan@fb.com>
Sun, 8 Nov 2020 21:21:58 +0000 (13:21 -0800)
commit2964b8a6f6d93e86af52f2d23ec18f02421ebd74
treefc32430dd3fb9b1a9585733fd41b59e5b8e1c33e
parentbe634559e3b6bb7bce77cc83ec2080b2bfb6c844
fix #874

coverity reported a warning regarding a memcpy() overwrite.
This is a false positive (the memory area is large enough),
but it's true that it's not trivial to determine (encompassing struct),
and it's proper anyway to only memcpy() just the right amount of data.
lib/lz4.c