xz/src
Lasse Collin 214569ace8 liblzma: index_decoder: Fix missing initializations on LZMA_PROG_ERROR
If the arguments to lzma_index_decoder() or lzma_index_buffer_decode()
were such that LZMA_PROG_ERROR was returned, the lzma_index **i
argument wasn't touched even though the API docs say that *i = NULL
is done if an error occurs. This obviously won't be done even now
if i == NULL but otherwise it is best to do it due to the wording
in the API docs.

In practice this matters very little: The problem can occur only
if the functions are called with invalid arguments, that is,
the calling application must already have a bug.

(cherry picked from commit 71eed2520e)
2024-05-22 00:12:07 +03:00
..
common tuklib_integer: Fix typo discovered by codespell. 2023-12-22 20:02:06 +08:00
liblzma liblzma: index_decoder: Fix missing initializations on LZMA_PROG_ERROR 2024-05-22 00:12:07 +03:00
lzmainfo xz, xzdec, lzmainfo: Use tuklib_attr_noreturn. 2023-10-31 01:03:25 +08:00
scripts xzless: Use ||- in LESSOPEN with with "less" 451 and newer. 2024-05-07 18:06:55 +03:00
xz xz man page: Use .ft CR instead of CW to silence warnings from groff. 2024-05-22 00:12:07 +03:00
xzdec Update website URLs back to tukaani.org. 2024-05-22 00:12:07 +03:00
Makefile.am Build: Prepare to support Automake's subdir-objects. 2014-10-29 21:15:35 +02:00