Re: [f2fs-dev] [PATCH] fsck.f2fs: fix potential NULL dereference

2023-06-02 Thread Chao Yu
On 2023/5/31 14:51, Maxim Korotkov wrote: The input pointer "parent" was used unsafely before checking against NULL Found by RASU JSC with Svace static analyzer Fixes: 603f8f9d3(sload.f2fs: support loading files into partition directly) Signed-off-by: Maxim Korotkov --- fsck/dir.c | 14 ++

[f2fs-dev] [PATCH] fsck.f2fs: fix potential NULL dereference

2023-05-30 Thread Maxim Korotkov
The input pointer "parent" was used unsafely before checking against NULL Found by RASU JSC with Svace static analyzer Fixes: 603f8f9d3(sload.f2fs: support loading files into partition directly) Signed-off-by: Maxim Korotkov --- fsck/dir.c | 14 +- 1 file changed, 9 insertions(+), 5