summaryrefslogtreecommitdiff
path: root/check
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2018-06-06 15:27:12 +0800
committerDavid Sterba <dsterba@suse.com>2018-08-06 15:00:29 +0200
commit90b677a2d7e6b14e3047b5ac8625269378c1198f (patch)
treecc84838b0fddddf23b3cfefbf2d7edb0efa7fad9 /check
parent581e2c16a3b1239bd6170fbca1c15c733d6bd634 (diff)
btrfs-progs: restore: Fix wrong compressed item size for decompress()
When using decompress() in copy_one_inline(), we're passing the decompressed extent size (ram_bytes) into decompress(). However we only has @inline_item_len read out, the pending data will be uninitialized data. Thankfully, all compression methods supported have some extra data in its header, thus it won't cause real problem. Whatever fixing it is never a bad idea. Signed-off-by: Qu Wenruo <wqu@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'check')
0 files changed, 0 insertions, 0 deletions