1
0
mirror of https://git.tukaani.org/xz.git synced 2026-10-31 03:14:56 +00:00

liblzma: Document the lzma_stream_buffer_decode() bug

This commit is contained in:
Lasse Collin 2026-05-19 18:07:47 +03:00
parent 6566e6251a
commit c2fe308792
No known key found for this signature in database
GPG Key ID: 38EE757D69184620

View File

@ -935,7 +935,10 @@ extern LZMA_API(lzma_ret) lzma_lzip_decoder(
* - LZMA_MEM_ERROR * - LZMA_MEM_ERROR
* - LZMA_MEMLIMIT_ERROR: Memory usage limit was reached. * - LZMA_MEMLIMIT_ERROR: Memory usage limit was reached.
* The minimum required memlimit value was stored to *memlimit. * The minimum required memlimit value was stored to *memlimit.
* - LZMA_BUF_ERROR: Output buffer was too small. * - LZMA_BUF_ERROR: Output buffer was too small. (liblzma 5.8.3
* and older have a bug: LZMA_BUF_ERROR may be returned when
* the input seems to be truncated. The correct error code
* would be LZMA_DATA_ERROR.)
* - LZMA_PROG_ERROR * - LZMA_PROG_ERROR
*/ */
extern LZMA_API(lzma_ret) lzma_stream_buffer_decode( extern LZMA_API(lzma_ret) lzma_stream_buffer_decode(