Skip to content
Commit 2f6174fd authored by David Sterba's avatar David Sterba Committed by Greg Kroah-Hartman
Browse files

btrfs: send: handle path ref underflow in header iterate_inode_ref()

[ Upstream commit 3c6ee34c

 ]

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: default avatarDavid Sterba <dsterba@suse.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent a83c1f67
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment