Christophe JAILLET 698ad1a538 NFS: Fix an off by one in root_nfs_cat()
The intent is to check if 'dest' is truncated or not. So, >= should be
used instead of >, because strlcat() returns the length of 'dest' and 'src'
excluding the trailing NULL.

Fixes: 56463e50d1fc ("NFS: Use super.c for NFSROOT mount option parsing")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Benjamin Coddington <bcodding@redhat.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
2024-03-09 09:14:51 -05:00
..
2024-01-10 16:13:57 -08:00
2024-01-10 16:13:57 -08:00
2023-03-06 09:57:12 +01:00
2023-03-06 09:57:12 +01:00
2023-11-08 13:39:16 -08:00
2023-10-09 16:24:20 +02:00
2022-05-09 16:36:48 -04:00
2023-08-19 10:26:29 -04:00
2024-01-10 16:13:57 -08:00