diff options
author | Volker Lendecke <vl@samba.org> | 2018-09-03 15:54:48 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2018-09-05 13:35:22 +0200 |
commit | 592bdff15e01b83111aa35291dd9434a18cf5c2c (patch) | |
tree | 5d83009b9f07194fbac87ed79dbe2d7a9ac931a7 /python | |
parent | 8f1183d53aa2e1b282d2954c11495552546a9899 (diff) | |
download | samba-592bdff15e01b83111aa35291dd9434a18cf5c2c.tar.gz |
smbd: Fix a memleak in async search ask sharemode
fetch_share_mode_unlocked_parser() takes a "struct
fetch_share_mode_unlocked_state *" as
"private_data". fetch_share_mode_send() used a talloc_zero'ed "struct
share_mode_lock". This lead to the parser putting a "struct
share_mode_lock on the NULL talloc_context where nobody really picked it
up.
Bug: https://bugzilla.samba.org/show_bug.cgi?id=13602
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit 0bd109b733fbce774feae2142d25f7e828b56bcb)
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions