Re: [Qemu-devel] [PATCH] 9pfs: make illegal path name detection more robust

2016-09-27 Thread Greg Kurz
On Mon, 26 Sep 2016 21:40:17 -0700 Li Qiang wrote: > From: Li Qiang > > The parameter of name_is_illegal can be NULL, adding detection of > this to avoid NULL pointer dereference issue. > Same as with the other patch: the root cause is in v9fs_iov_vunmarshal(). > Signed-off-by: Li Qiang > -

[Qemu-devel] [PATCH] 9pfs: make illegal path name detection more robust

2016-09-26 Thread Li Qiang
From: Li Qiang The parameter of name_is_illegal can be NULL, adding detection of this to avoid NULL pointer dereference issue. Signed-off-by: Li Qiang --- hw/9pfs/9p.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/9pfs/9p.c b/hw/9pfs/9p.c index dd3145c..d960a2e 100644