diff options
author | yann.collet.73@gmail.com <yann.collet.73@gmail.com@650e7d94-2a16-8b24-b05c-7c0b3f6821cd> | 2013-03-30 21:11:40 (GMT) |
---|---|---|
committer | yann.collet.73@gmail.com <yann.collet.73@gmail.com@650e7d94-2a16-8b24-b05c-7c0b3f6821cd> | 2013-03-30 21:11:40 (GMT) |
commit | 647baabcef0effcfcb3cc0dadb2970db681c9d52 (patch) | |
tree | e1b075d6997600f677f39cb3a61b6182e5988f46 /lz4.c | |
parent | 633c51904ebc1e3d3f51d4793d24f4f39ce579cf (diff) | |
download | lz4-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.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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,
|