1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/source4
Andrew Bartlett 7e091e5051 s4-lsa: Fix use-after-free in LSA server
This is a regression introduced in ab7988aa2f.

The state variable contains the data to be returned to the client
and packed into NDR after the function returned.

This memory needs to be kept (on mem_ctx as parent) until that is
pushed and freed by the caller.

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
2018-05-03 08:17:44 +02:00
..
auth s4/auth: Additionally accept unicode as string param in Py2 2018-04-30 15:43:19 +02:00
build/pasn1
cldap_server s4:cldap_server: Fix size types 2018-03-20 23:16:15 +01:00
client s4:client: Fix size types and loop 2018-04-03 20:20:10 +02:00
cluster dbwrap: Remove calls to loadparm 2018-04-24 01:53:19 +02:00
dns_server s4:dns_server: Fix size types 2018-03-20 23:16:15 +01:00
dsdb python: Bulk conversion callers of ldb.Dn second param 2018-04-30 15:43:19 +02:00
echo_server source4/smbd: Do not overstamp the process model with "single" 2017-10-19 05:33:10 +02:00
heimdal heimdal: Fix size types and array access 2018-04-03 20:20:10 +02:00
heimdal_build heimdal_build: use closefrom from libreplace 2018-02-21 14:19:19 +01:00
include lib: Remove global xfile.h includes 2016-11-20 06:23:19 +01:00
kdc s4:kdc: make sure we expand group memberships of the local domain 2018-03-19 20:30:52 +01:00
ldap_server s4:ldap_server: Fix size types 2018-03-20 23:16:15 +01:00
lib s4/lib/py-registry: initialize optional parameters for open_* functions 2018-04-13 07:27:14 +02:00
libcli tevent: Fix callers of tevent_req_set_endtime 2018-04-24 19:41:15 +02:00
libnet s3/libnet/wscript: build samba-net lib for extra-python/py3 2018-04-13 07:27:11 +02:00
librpc s4/librpc: Additionally accept unicode as string param in Py2 2018-04-30 15:43:19 +02:00
nbt_server nbt_server: Align integer types 2018-04-18 00:11:51 +02:00
ntp_signd source4/smbd: Do not overstamp the process model with "single" 2017-10-19 05:33:10 +02:00
ntvfs s4/ntvfs/posix/python: python3 (get|set)xattr value should be bytes 2018-04-05 08:59:09 +02:00
param s4/param: Additionally accept unicode as string param in Py2 2018-04-30 15:43:19 +02:00
rpc_server s4-lsa: Fix use-after-free in LSA server 2018-05-03 08:17:44 +02:00
script s4/script: convert print func to be py2/py3 compatible 2018-03-23 07:28:24 +01:00
scripting samba_dnsupdate: Put samba.kcc import after path insert of bin/python 2018-05-03 05:25:27 +02:00
selftest selftest: enable py3 for samba.tests.krb5_credentials 2018-04-13 07:27:13 +02:00
setup provision: allow provisioning of a different database backend 2018-04-06 02:08:45 +02:00
smb_server Remove dead code 2018-03-19 20:29:28 +01:00
smbd s4/smbd/server.c: create /run if missing 2018-04-25 19:59:13 +02:00
torture python: Bulk conversion callers of ldb.Dn second param 2018-04-30 15:43:19 +02:00
utils s4:utils: Fix size types 2018-03-20 23:16:15 +01:00
web_server s4/webserver: initialise optional parameter 2018-04-13 07:27:14 +02:00
winbind Remove dead code 2018-03-19 20:29:28 +01:00
wrepl_server source4/smbd: Do not overstamp the process model with "single" 2017-10-19 05:33:10 +02:00
.clang_complete
.valgrind_suppressions
wscript_build Do not install smbclient4 and nmblookup4 2014-04-15 03:25:13 +02:00