summaryrefslogtreecommitdiffstats
path: root/lz4.c
diff options
context:
space:
mode:
authoryann.collet.73@gmail.com <yann.collet.73@gmail.com@650e7d94-2a16-8b24-b05c-7c0b3f6821cd>2013-03-30 21:11:40 (GMT)
committeryann.collet.73@gmail.com <yann.collet.73@gmail.com@650e7d94-2a16-8b24-b05c-7c0b3f6821cd>2013-03-30 21:11:40 (GMT)
commit647baabcef0effcfcb3cc0dadb2970db681c9d52 (patch)
treee1b075d6997600f677f39cb3a61b6182e5988f46 /lz4.c
parent633c51904ebc1e3d3f51d4793d24f4f39ce579cf (diff)
downloadlz4-647baabcef0effcfcb3cc0dadb2970db681c9d52.zip
lz4-647baabcef0effcfcb3cc0dadb2970db681c9d52.tar.gz
lz4-647baabcef0effcfcb3cc0dadb2970db681c9d52.tar.bz2
Updated : cmake/CMakeLists.txt, by Nobuhiro Iwamatsu
Updated : cmake/pack/CMakeLists.txt, by Dmitry Cherepanov lz4demo : CLI accept aggregated commands lz4demo : detect overwrite output lz4demo : new commands options (-hc, -y) git-svn-id: https://lz4.googlecode.com/svn/trunk@91 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
Diffstat (limited to 'lz4.c')
-rw-r--r--lz4.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lz4.c b/lz4.c
index 1f2eafd..f15dcfc 100644
--- a/lz4.c
+++ b/lz4.c
@@ -710,6 +710,7 @@ int LZ4_compress(const char* source,
// are safe against "buffer overflow" attack type.
// They will never write nor read outside of the provided output buffers.
// LZ4_uncompress_unknownOutputSize() also insures that it will never read outside of the input buffer.
+// LZ4_uncompress() guarantees that it will never read before source, nor beyond source + LZ4_compressBound(osize)
// A corrupted input will produce an error result, a negative int, indicating the position of the error within input stream.
int LZ4_uncompress(const char* source,