aboutsummaryrefslogtreecommitdiff
path: root/src/common/tuklib_progname.h
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2022-11-24 01:32:16 +0200
committerLasse Collin <lasse.collin@tukaani.org>2022-11-24 01:32:16 +0200
commite1acf7107291f8b3d6d609a7133331ff36d35d14 (patch)
tree58782c40c61abb5d55ebe3851a4d6feb0cdcee3a /src/common/tuklib_progname.h
parentliblzma: Fix another invalid free() after memory allocation failure. (diff)
downloadxz-e1acf7107291f8b3d6d609a7133331ff36d35d14.tar.xz
liblzma: Refactor to use lzma_filters_free().
lzma_filters_free() sets the options to NULL and ids to LZMA_VLI_UNKNOWN so there is no need to do it by caller; the filter arrays will always be left in a safe state. Also use memcpy() instead of a loop to copy a filter chain when it is known to be safe to copy LZMA_FILTERS_MAX + 1 (even if the elements past the terminator might be uninitialized).
Diffstat (limited to 'src/common/tuklib_progname.h')
0 files changed, 0 insertions, 0 deletions