]> git.ipfire.org Git - thirdparty/samba.git/commit
tldap: Only free() ld->pending if "req" is part of it
authorVolker Lendecke <vl@samba.org>
Tue, 11 Aug 2020 14:16:12 +0000 (16:16 +0200)
committerVolker Lendecke <vl@samba.org>
Fri, 21 Aug 2020 19:14:32 +0000 (19:14 +0000)
commitb85dbc9ccf80d8c19aff33c1da83954e5d6a37ef
tree06bc49323e0d6008c16fe33c2478531edf6f80b1
parenteb72f887b0bf91c050fd5d911f58a1b3ff9b8bcc
tldap: Only free() ld->pending if "req" is part of it

Best reviewed with "git show -U10". We need to check that "req" is
actually the last request that is being freed before freeing the whole
array.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=14465

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/lib/tldap.c