diff options
author | 2021-05-13 23:08:47 +0300 | |
---|---|---|
committer | 2023-10-22 17:09:03 -0400 | |
commit | ffcf9ec78c133fb85ff13d8119ff404e11820834 (patch) | |
tree | 1a6a0d2bd8278b7a1b8f4c37c9b63d5aa48675c6 /fs/bcachefs/chardev.c | |
parent | bcachefs: Make sure to use BTREE_ITER_PREFETCH in fsck (diff) | |
download | wireguard-linux-ffcf9ec78c133fb85ff13d8119ff404e11820834.tar.xz wireguard-linux-ffcf9ec78c133fb85ff13d8119ff404e11820834.zip |
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: Stijn Tintel <stijn@linux-ipv6.be>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/chardev.c')
0 files changed, 0 insertions, 0 deletions