Commit ffcf9ec7 authored by Stijn Tintel's avatar Stijn Tintel Committed by Kent Overstreet
Browse files

bcachefs: avoid out-of-bounds in split_devs



Calling mount with an empty source string causes an out-of-bounds error
in split_devs. Check the length of the source string to avoid this.

Signed-off-by: default avatarStijn Tintel <stijn@linux-ipv6.be>
Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 909004d2
Supports Markdown
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