summaryrefslogtreecommitdiff
path: root/lib/common/filename_sane.c
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-12-12 10:30:32 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-12-12 10:40:01 +0100
commitbcb73d076b043c34ab88265c2bdddaff8b702cc1 (patch)
tree5db530f9bc516aa3375007a3d39724fd23c4bae9 /lib/common/filename_sane.c
parentc229e8909096540910db9d52689308279a1fd1d0 (diff)
Fix "buffer to small" being treated as error in zstd compressor
The zstd compress function returns an error code if it cannot fit the compressed data into the given destination buffer. This commit adds a check for this error and reports that the libsquashfs compressor implementation was unable to shrink the input instead of claiming a fatal error happened. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/common/filename_sane.c')
0 files changed, 0 insertions, 0 deletions