]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
btrfs: send: handle path ref underflow in header iterate_inode_ref()
authorDavid Sterba <dsterba@suse.com>
Tue, 6 Feb 2024 21:47:13 +0000 (22:47 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 4 Mar 2024 15:24:51 +0000 (16:24 +0100)
commit3c6ee34c6f9cd12802326da26631232a61743501
treeffeadcb64cc581d13e46b5ed470caddf7a59c979
parent5d2288711ccc483feca73151c46ee835bda17839
btrfs: send: handle path ref underflow in header iterate_inode_ref()

Change BUG_ON to proper error handling if building the path buffer
fails. The pointers are not printed so we don't accidentally leak kernel
addresses.

Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/send.c