]> git.ipfire.org Git - thirdparty/samba.git/commit
s3:client: Fix a use-after-free issue in smbclient
authorAndreas Schneider <asn@samba.org>
Thu, 22 Dec 2022 09:31:11 +0000 (10:31 +0100)
committerJule Anger <janger@samba.org>
Tue, 3 Jan 2023 19:19:57 +0000 (19:19 +0000)
commit78848f21a3ecefdc6689c2794b166981eb517205
tree4b0ece1acacd782cf2a221a251f3ac10d0327e5a
parenteeeb1a476f60b55f27083cdbe51c540ed4d86cc6
s3:client: Fix a use-after-free issue in smbclient

Detected by

    make test TESTS="samba3.blackbox.chdir-cache"

with an optimized build or with AddressSanitizer.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15268

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit 9c707b4be27e2a6f79886d3ec8b5066c922b99bd)

Autobuild-User(v4-16-test): Jule Anger <janger@samba.org>
Autobuild-Date(v4-16-test): Tue Jan  3 19:19:57 UTC 2023 on sn-devel-184
source3/client/client.c