Commit Graph

259 Commits

Author SHA1 Message Date
yann.collet.73@gmail.com
6b798d5e40 New function : LZ4_uncompress : secure version which is safe against buffer overflow attacks
New function : LZ4_uncompress_unknownOutputSize : secure but slower version which also guess the size of data to be decoded
The demo file compression program (main.c) is updated to use these new functions
LZ4_decode is still supported but in deprecated status, due to its vulnerability to malicious buffer overflow scenario


git-svn-id: https://lz4.googlecode.com/svn/trunk@9 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
2011-06-04 17:15:43 +00:00
yann.collet.73@gmail.com
0121f47e00 Corrected : demo program : "/" no longer a valid option trigger, in order to allow absolute path on *nix systems.
Changed (minor) : demo program : differentiate error numbers between compression et decoding routines.

git-svn-id: https://lz4.googlecode.com/svn/trunk@8 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
2011-05-27 12:18:22 +00:00
yann.collet.73@gmail.com
ca8d6c21e5 Improved : safe type, for linux x64 (amd64) compatibility (Thanks to Erik Andersen)
Checked : OS X compatibility (Thanks Abhinav)
Corrected : Explicit unsigned constant for non C90-compliant C compilers (Thanks to Erik Andersen)
Changed : lowercase filename for case-sensitive file systems (like linux) (Thanks Abhinav & Erik)
Added : Makefile, for gcc (Thanks Abhinav & Erik)

git-svn-id: https://lz4.googlecode.com/svn/trunk@7 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
2011-05-25 22:25:57 +00:00
yann.collet.73@gmail.com
06abb77c00 Added some comments for better clarity
git-svn-id: https://lz4.googlecode.com/svn/trunk@6 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
2011-05-21 07:18:49 +00:00
yann.collet.73@gmail.com
f03375468c Correction : enforced typecasting for compatibility with gcc on *nix systems.
Thanks to Abhinav Mehta for reporting the issue.

git-svn-id: https://lz4.googlecode.com/svn/trunk@5 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
2011-05-20 19:54:28 +00:00
yann.collet.73@gmail.com
cfcae8a50f Strict end-of-buffer checks
License changed to BSD

git-svn-id: https://lz4.googlecode.com/svn/trunk@4 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
2011-04-26 23:49:24 +00:00
yann.collet.73@gmail.com
1920856128 Added CPP compatibility macro
git-svn-id: https://lz4.googlecode.com/svn/trunk@3 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
2011-04-25 08:24:43 +00:00
yann.collet.73@gmail.com
3610461005 git-svn-id: https://lz4.googlecode.com/svn/trunk@2 650e7d94-2a16-8b24-b05c-7c0b3f6821cd 2011-04-24 14:16:00 +00:00
(no author)
409f243690 Initial directory structure.
git-svn-id: https://lz4.googlecode.com/svn/trunk@1 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
2011-04-12 11:36:16 +00:00