aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorRonnie Sahlberg <lsahlber@redhat.com>2021-05-19 08:40:11 +1000
committerSteve French <stfrench@microsoft.com>2021-05-19 19:19:20 -0500
commitd201d7631ca170b038e7f8921120d05eec70d7c5 (patch)
tree5f0b595a798b4d81ca201ca7a2c148730c58b0c5 /scripts/gdb/linux/utils.py
parentSMB3: incorrect file id in requests compounded with open (diff)
downloadwireguard-linux-d201d7631ca170b038e7f8921120d05eec70d7c5.tar.xz
wireguard-linux-d201d7631ca170b038e7f8921120d05eec70d7c5.zip
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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions