aboutsummaryrefslogtreecommitdiff
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorYang Yingliang <[email protected]>2021-05-31 17:25:05 +0900
committerNamjae Jeon <[email protected]>2021-06-01 09:26:20 +0900
commitfd6de099d7fabc2b86f51dc622453eb279f7cce9 (patch)
tree0487242c917d5d85bf6183516e163119190319af /lib/debugobjects.c
parent673b9ba7a1404fa5beda936b8ad509b70a516b52 (diff)
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 <[email protected]> Signed-off-by: Namjae Jeon <[email protected]> Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions