diff options
author | 2024-02-05 14:19:16 +0300 | |
---|---|---|
committer | 2024-02-07 20:23:37 -0600 | |
commit | 108a020c64434fed4b69762879d78cd24088b4c7 (patch) | |
tree | ca8eeb8c43c69504845351f28b64ce7d89c21425 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ksmbd: Add kernel-doc for ksmbd_extract_sharename() function (diff) | |
download | wireguard-linux-108a020c64434fed4b69762879d78cd24088b4c7.tar.xz wireguard-linux-108a020c64434fed4b69762879d78cd24088b4c7.zip |
ksmbd: free aux buffer if ksmbd_iov_pin_rsp_read fails
ksmbd_iov_pin_rsp_read() doesn't free the provided aux buffer if it
fails. Seems to be the caller's responsibility to clear the buffer in
error case.
Found by Linux Verification Center (linuxtesting.org).
Fixes: e2b76ab8b5c9 ("ksmbd: add support for read compound")
Cc: stable@vger.kernel.org
Signed-off-by: Fedor Pchelkin <pchelkin@ispras.ru>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
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