diff options
author | Yann Collet <Cyan4973@users.noreply.github.com> | 2019-04-19 01:51:28 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-19 01:51:28 (GMT) |
commit | 213edce4bebf6fbccb626e8b82152e04730acff7 (patch) | |
tree | e478d0f39485c63e3dc246124aa7c7ed954bf034 /lib/lz4.h | |
parent | 5a6d72447ae998b387794df1135023689aa89995 (diff) | |
parent | 4e4f1ad623cca9ebd212400b5783c63fd76dc868 (diff) | |
download | lz4-213edce4bebf6fbccb626e8b82152e04730acff7.zip lz4-213edce4bebf6fbccb626e8b82152e04730acff7.tar.gz lz4-213edce4bebf6fbccb626e8b82152e04730acff7.tar.bz2 |
Merge pull request #682 from lz4/visual
fix minor Visual warnings
Diffstat (limited to 'lib/lz4.h')
-rw-r--r-- | lib/lz4.h | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -638,9 +638,11 @@ LZ4_DEPRECATED("use LZ4_decompress_fast_usingDict() instead") LZ4LIB_API int LZ4 * On top of that `LZ4_decompress_fast()` is not protected vs malformed or malicious inputs, making it a security liability. * As a consequence, LZ4_decompress_fast() is strongly discouraged, and deprecated. * - * Only LZ4_decompress_fast() specificity is that it can decompress a block without knowing its compressed size. - * Even that functionality could be achieved in a more secure manner if need be, - * though it would require new prototypes, and adaptation of the implementation to this new use case. + * The last remaining LZ4_decompress_fast() specificity is that + * it can decompress a block without knowing its compressed size. + * Such functionality could be achieved in a more secure manner, + * by also providing the maximum size of input buffer, + * but it would require new prototypes, and adaptation of the implementation to this new use case. * * Parameters: * originalSize : is the uncompressed size to regenerate. |