]> git.ipfire.org Git - thirdparty/systemd.git/commit
compress: deal with zstd decoder issues gracefully
authorLennart Poettering <lennart@poettering.net>
Thu, 3 Apr 2025 15:28:11 +0000 (17:28 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 13 May 2025 13:39:57 +0000 (15:39 +0200)
commit559795fa4602866ced44fbcc9d914dec6ade09de
tree0009fa21707244c7ddb2ad8eb46e586fd4f9deba
parent6427d0fbed998e5e306e95dfe227c8598a3e4ad1
compress: deal with zstd decoder issues gracefully

If zstd frames are corrupted the initial size returned for the current
frame might be wrong. Don#t assert() on that, but handle it gracefully,
as EBADMSG
src/basic/compress.c