summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRonnie Sahlberg <lsahlber@redhat.com>2021-05-19 01:40:11 +0300
committerSteve French <stfrench@microsoft.com>2021-05-20 03:19:20 +0300
commitd201d7631ca170b038e7f8921120d05eec70d7c5 (patch)
tree5f0b595a798b4d81ca201ca7a2c148730c58b0c5 /tools/perf/scripts/python
parentc0d46717b95735b0eacfddbcca9df37a49de9c7a (diff)
downloadlinux-d201d7631ca170b038e7f8921120d05eec70d7c5.tar.xz
cifs: fix memory leak in smb2_copychunk_range
When using smb2_copychunk_range() for large ranges we will run through several iterations of a loop calling SMB2_ioctl() but never actually free the returned buffer except for the final iteration. This leads to memory leaks everytime a large copychunk is requested. Fixes: 9bf0c9cd4314 ("CIFS: Fix SMB2/SMB3 Copy offload support (refcopy) for large files") Cc: <stable@vger.kernel.org> Reviewed-by: Aurelien Aptel <aaptel@suse.com> Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions