From 3dfa3dde4c82922b7e932b3cdbaec578a8792a8f Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Mon, 11 Feb 2013 22:52:55 +0100 Subject: [PATCH] s3:idmap_autorid: fix freeing of non-talloced memory (uninitialized pointer) (bug #9653) Signed-off-by: Michael Adam Reviewed-by: Stefan Metzmacher Autobuild-User(master): Stefan Metzmacher Autobuild-Date(master): Wed Feb 13 09:51:53 CET 2013 on sn-devel-104 (cherry picked from commit 19c68f80251f443016e505c5cf87f697fb552e8c) --- source3/winbindd/idmap_autorid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/winbindd/idmap_autorid.c b/source3/winbindd/idmap_autorid.c index 621cae9..306b176 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; -- 1.7.9.5