diff options
author | Dave Watson <davejwatson@fb.com> | 2019-01-26 00:06:55 (GMT) |
---|---|---|
committer | Dave Watson <davejwatson@fb.com> | 2019-02-08 21:57:23 (GMT) |
commit | 1fbaf843066caec21489d178fc348dbe62939a90 (patch) | |
tree | 7485df7339e84f6871e6290b6a13ed6ca1449494 | |
parent | 28b824921d94c8263cb51dfdee0a149490009f8f (diff) | |
download | lz4-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.
-rw-r--r-- | lib/lz4.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -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; |