diff options
author | Yann Collet <yann.collet.73@gmail.com> | 2019-04-19 01:50:51 (GMT) |
---|---|---|
committer | Yann Collet <yann.collet.73@gmail.com> | 2019-04-19 01:50:51 (GMT) |
commit | ae199124e5aef12f6e467bc8cf30bffece55d55c (patch) | |
tree | 194137dc2ebcdef80e078e4df60963a960b6068a /lib/lz4hc.c | |
parent | 4e4f1ad623cca9ebd212400b5783c63fd76dc868 (diff) | |
download | lz4-ae199124e5aef12f6e467bc8cf30bffece55d55c.zip lz4-ae199124e5aef12f6e467bc8cf30bffece55d55c.tar.gz lz4-ae199124e5aef12f6e467bc8cf30bffece55d55c.tar.bz2 |
fixed read-after input in LZ4_decompress_safe()
Diffstat (limited to 'lib/lz4hc.c')
-rw-r--r-- | lib/lz4hc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lz4hc.c b/lib/lz4hc.c index 031df8f..936f739 100644 --- a/lib/lz4hc.c +++ b/lib/lz4hc.c @@ -442,7 +442,7 @@ LZ4_FORCE_INLINE int LZ4HC_encodeSequence ( } /* Copy Literals */ - LZ4_wildCopy(*op, *anchor, (*op) + length); + LZ4_wildCopy8(*op, *anchor, (*op) + length); *op += length; /* Encode Offset */ |