Merge tag 'vfs-6.16-rc8.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs
Merge commit. Changes below are compared with the first parent: bef3012b.
Changes
2 files changed · +2 −1
| File | Status | Add | Del | Content |
|---|---|---|---|---|
| fs/afs/addr_prefs.c | modified | +1 | −1 | View file |
| fs/afs/cell.c | modified | +1 | −0 | View file |
fs/afs/addr_prefs.c
View filediff --git a/fs/afs/addr_prefs.c b/fs/afs/addr_prefs.c
index c038420..1337364 100644
--- a/fs/afs/addr_prefs.c
+++ b/fs/afs/addr_prefs.c
@@ -48,7 +48,7 @@ static int afs_split_string(char **pbuf, char *strv[], unsigned int maxstrv)
strv[count++] = p;
/* Skip over word */
- while (!isspace(*p))
+ while (!isspace(*p) && *p)
p++;
if (!*p)
break;
fs/afs/cell.c
View filediff --git a/fs/afs/cell.c b/fs/afs/cell.c
index 0168bbf..f313599 100644
--- a/fs/afs/cell.c
+++ b/fs/afs/cell.c
@@ -177,6 +177,7 @@ static struct afs_cell *afs_alloc_cell(struct afs_net *net,
VL_SERVICE, AFS_VL_PORT);
if (IS_ERR(vllist)) {
ret = PTR_ERR(vllist);
+ vllist = NULL;
goto parse_failed;
}