[Cluster-devel] [PATCH -next 4/5] gfs2: fix possible null-ptr-deref when parsing param

2022-10-24 Thread Hawkins Jiawei
According to commit "vfs: parse: deal with zero length string value", kernel will set the param->string to null pointer in vfs_parse_fs_string() if fs string has zero length. Yet the problem is that, gfs2_parse_param() will dereferences the param->string, without checking whether it is a null poin

Re: [Cluster-devel] [PATCH -next 4/5] gfs2: fix possible null-ptr-deref when parsing param

2022-10-24 Thread Andreas Grünbacher
Am So., 23. Okt. 2022 um 18:46 Uhr schrieb Hawkins Jiawei : > According to commit "vfs: parse: deal with zero length string value", > kernel will set the param->string to null pointer in vfs_parse_fs_string() > if fs string has zero length. > > Yet the problem is that, gfs2_parse_param() will deref