Unverified Commit 9aa64182 authored by Leo Stone's avatar Leo Stone Committed by Christian Brauner
Browse files

afs: Fix check for NULL terminator



Add a missing check for reaching the end of the string while attempting
to split a command.

Fixes: f94f70d3 ("afs: Provide a way to configure address priorities")
Reported-by: default avatar <syzbot+7741f872f3c53385a2e2@syzkaller.appspotmail.com>
Closes: https://syzkaller.appspot.com/bug?extid=7741f872f3c53385a2e2


Signed-off-by: default avatarLeo Stone <leocstone@gmail.com>
Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
Link: https://lore.kernel.org/4119428.1753108152@warthog.procyon.org.uk


Acked-by: default avatarDavid 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: default avatarChristian Brauner <brauner@kernel.org>
parent 89be9a83
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment