diff options
author | Michael Adam <obnox@samba.org> | 2013-02-11 22:52:55 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2013-02-13 09:51:53 +0100 |
commit | 19c68f80251f443016e505c5cf87f697fb552e8c (patch) | |
tree | 6ccaf45fadaa53d98b096407ea48100d8dc73f0b | |
parent | a64a617e103983e2423cca2e8e09009d2e571b2b (diff) | |
download | samba-19c68f80251f443016e505c5cf87f697fb552e8c.tar.gz samba-19c68f80251f443016e505c5cf87f697fb552e8c.tar.bz2 samba-19c68f80251f443016e505c5cf87f697fb552e8c.zip |
s3:idmap_autorid: fix freeing of non-talloced memory (uninitialized pointer) (bug #9653)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Wed Feb 13 09:51:53 CET 2013 on sn-devel-104
-rw-r--r-- | source3/winbindd/idmap_autorid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/idmap_autorid.c b/source3/winbindd/idmap_autorid.c index b7b168970b..07479168c7 100644 --- a/source3/winbindd/idmap_autorid.c +++ b/source3/winbindd/idmap_autorid.c @@ -244,7 +244,7 @@ static NTSTATUS idmap_autorid_id_to_sid(struct autorid_global_config *cfg, struct id_map *map) { uint32_t range; - TDB_DATA data; + TDB_DATA data = tdb_null; char *keystr; struct dom_sid sid; NTSTATUS status; |