summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDave Watson <davejwatson@fb.com>2019-01-26 00:06:55 (GMT)
committerDave Watson <davejwatson@fb.com>2019-02-08 21:57:23 (GMT)
commit1fbaf843066caec21489d178fc348dbe62939a90 (patch)
tree7485df7339e84f6871e6290b6a13ed6ca1449494 /lib
parent28b824921d94c8263cb51dfdee0a149490009f8f (diff)
downloadlz4-1fbaf843066caec21489d178fc348dbe62939a90.zip
lz4-1fbaf843066caec21489d178fc348dbe62939a90.tar.gz
lz4-1fbaf843066caec21489d178fc348dbe62939a90.tar.bz2
decompress_generic: remove msan write
This store is also causing load-blocked-by-store issues, remove it. The msan warning will have to be fixed another way if it is still an issue.
Diffstat (limited to 'lib')
-rw-r--r--lib/lz4.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/lz4.c b/lib/lz4.c
index a18401a..614df2b 100644
--- a/lib/lz4.c
+++ b/lib/lz4.c
@@ -1581,11 +1581,6 @@ LZ4_decompress_generic(
length = token & ML_MASK;
if ((checkOffset) && (unlikely(match + dictSize < lowPrefix))) goto _output_error; /* Error : offset outside buffers */
- if (!partialDecoding) {
- assert(oend > op);
- assert(oend - op >= 4);
- LZ4_write32(op, 0); /* silence an msan warning when offset==0; costs <1%; */
- } /* note : when partialDecoding, there is no guarantee that at least 4 bytes remain available in output buffer */
if (length == ML_MASK) {
variable_length_error error = ok;