sonjeheon / lz4

Automatically exported from code.google.com/p/lz4
0 stars 0 forks source link

LZ4_compress_limitedOutput() write error #30

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In some situation, LZ4_compress_limitedOutput() may write beyond provided 
output buffer.

Original issue reported on code.google.com by yann.col...@gmail.com on 21 Aug 2012 at 4:27

GoogleCodeExporter commented 9 years ago
reported by Andrew Mahone

Original comment by yann.col...@gmail.com on 21 Aug 2012 at 4:28

GoogleCodeExporter commented 9 years ago
The attached lz4.c file should solve the reported issue
for input sizes <= 64K.
To be tested

Original comment by yann.col...@gmail.com on 21 Aug 2012 at 4:34

Attachments:

GoogleCodeExporter commented 9 years ago
Corrected into r77.
Many thanks to Andrew Mahone, for detailed reporting and testing.

Original comment by yann.col...@gmail.com on 22 Aug 2012 at 4:02