mirror of
git://git.yoctoproject.org/linux-yocto.git
synced 2025-10-22 15:03:53 +02:00
vfs-6.16-rc8.fixes
-----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQRAhzRXHqcMeLMyaSiRxhvAZXjcogUCaIM+0AAKCRCRxhvAZXjc oopdAP9SviubsueENDGRNvyvjCajdaUcZ481UeWCsvshc1ykmgEAo+Cwu3QxRzF7 BVjSIJSV9r4ae/fNw/MASbJVwyfCJQc= =hGG6 -----END PGP SIGNATURE----- Merge tag 'vfs-6.16-rc8.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs Pull vfs fixes from Christian Brauner: "Two last-minute fixes for this cycle: - Set afs vllist to NULL if addr parsing fails - Add a missing check for reaching the end of the string in afs" * tag 'vfs-6.16-rc8.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs: afs: Set vllist to NULL if addr parsing fails afs: Fix check for NULL terminator
This commit is contained in:
commit
4bb0122091
|
@ -48,7 +48,7 @@ static int afs_split_string(char **pbuf, char *strv[], unsigned int maxstrv)
|
||||||
strv[count++] = p;
|
strv[count++] = p;
|
||||||
|
|
||||||
/* Skip over word */
|
/* Skip over word */
|
||||||
while (!isspace(*p))
|
while (!isspace(*p) && *p)
|
||||||
p++;
|
p++;
|
||||||
if (!*p)
|
if (!*p)
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -177,6 +177,7 @@ static struct afs_cell *afs_alloc_cell(struct afs_net *net,
|
||||||
VL_SERVICE, AFS_VL_PORT);
|
VL_SERVICE, AFS_VL_PORT);
|
||||||
if (IS_ERR(vllist)) {
|
if (IS_ERR(vllist)) {
|
||||||
ret = PTR_ERR(vllist);
|
ret = PTR_ERR(vllist);
|
||||||
|
vllist = NULL;
|
||||||
goto parse_failed;
|
goto parse_failed;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user