diff options
author | 2021-09-30 15:24:56 +0300 | |
---|---|---|
committer | 2021-09-30 20:00:05 -0500 | |
commit | 87ffb310d5e8a441721a9d04dfa7c90cd9da3916 (patch) | |
tree | 3d924c129340db845b9c8d7e87e70d876db1d032 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ksmbd: fix transform header validation (diff) | |
download | wireguard-linux-87ffb310d5e8a441721a9d04dfa7c90cd9da3916.tar.xz wireguard-linux-87ffb310d5e8a441721a9d04dfa7c90cd9da3916.zip |
ksmbd: missing check for NULL in convert_to_nt_pathname()
The kmalloc() does not have a NULL check. This code can be re-written
slightly cleaner to just use the kstrdup().
Fixes: 265fd1991c1d ("ksmbd: use LOOKUP_BENEATH to prevent the out of share access")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Acked-by: Hyunchul Lee <hyc.lee@gmail.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