diff options
author | 2025-07-21 15:29:12 +0100 | |
---|---|---|
committer | 2025-07-23 13:54:05 +0200 | |
commit | 9aa64182952db7d931201ab4fcdf767c11fb4ab0 (patch) | |
tree | c9434eaaf8d59d4785879dd8cd0bf6f6e758909b /rust/pin-init/internal/src | |
parent | Linux 6.16-rc7 (diff) | |
download | wireguard-linux-9aa64182952db7d931201ab4fcdf767c11fb4ab0.tar.xz wireguard-linux-9aa64182952db7d931201ab4fcdf767c11fb4ab0.zip |
afs: Fix check for NULL terminator
Add a missing check for reaching the end of the string while attempting
to split a command.
Fixes: f94f70d39cc2 ("afs: Provide a way to configure address priorities")
Reported-by: syzbot+7741f872f3c53385a2e2@syzkaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=7741f872f3c53385a2e2
Signed-off-by: Leo Stone <leocstone@gmail.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Link: https://lore.kernel.org/4119428.1753108152@warthog.procyon.org.uk
Acked-by: David Howells <dhowells@redhat.com>
cc: Marc Dionne <marc.dionne@auristor.com>
cc: linux-afs@lists.infradead.org
cc: linux-fsdevel@vger.kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'rust/pin-init/internal/src')
0 files changed, 0 insertions, 0 deletions