Re: [PATCH] 9p: null terminate fs driver options list

2020-07-10 Thread Greg Kurz
On Thu, 9 Jul 2020 23:28:48 +0530 P J P wrote: > From: Prasad J Pandit > > NULL terminate fs driver options' list, validate_opt() looks for > a null entry to terminate the loop. > Good catch ! And this never bit us before because opt ends up pointing to some valid memory containing zeroes...

Re: [PATCH] 9p: null terminate fs driver options list

2020-07-09 Thread Li Qiang
P J P 于2020年7月10日周五 上午2:01写道: > > From: Prasad J Pandit > > NULL terminate fs driver options' list, validate_opt() looks for > a null entry to terminate the loop. > > Signed-off-by: Prasad J Pandit Reviewed-by: Li Qiang > --- > fsdev/qemu-fsdev.c | 3 +++ > 1 file changed, 3 insertions(+) >

[PATCH] 9p: null terminate fs driver options list

2020-07-09 Thread P J P
From: Prasad J Pandit NULL terminate fs driver options' list, validate_opt() looks for a null entry to terminate the loop. Signed-off-by: Prasad J Pandit --- fsdev/qemu-fsdev.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fsdev/qemu-fsdev.c b/fsdev/qemu-fsdev.c index a9e069c0c7..3da6