aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2021-05-31 17:25:05 +0900
committerNamjae Jeon <namjae.jeon@samsung.com>2021-06-01 09:26:20 +0900
commitfd6de099d7fabc2b86f51dc622453eb279f7cce9 (patch)
tree0487242c917d5d85bf6183516e163119190319af /tools/perf/scripts/python/export-to-postgresql.py
parentcifsd: fix memleak in ksmbd_vfs_stream_read() (diff)
downloadlinux-dev-fd6de099d7fabc2b86f51dc622453eb279f7cce9.tar.xz
linux-dev-fd6de099d7fabc2b86f51dc622453eb279f7cce9.zip
cifsd: check return value of ksmbd_vfs_getcasexattr() correctly
If ksmbd_vfs_getcasexattr() returns -ENOMEM, stream_buf is NULL, it will cause null-ptr-deref when using it to copy memory. So we need check the return value of ksmbd_vfs_getcasexattr() by comparing with 0. Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions