From 8327321225251e312ccbd06bbefa5ebf98099f34 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 23 May 2014 16:06:17 +1200 Subject: dsdb: Do not store a struct ldb_dn in struct schema_data The issue is that the DN contains a pointer to the ldb it belongs to, and if this is not kept around long enough, we might reference memory after it is de-allocated. Andrew Bartlett Change-Id: I040a6c37a3164b3309f370e32e598dd56b1a1bbb Signed-off-by: Andrew Bartlett Reviewed-by: Andreas Schneider --- source4/dsdb/schema/schema.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'source4/dsdb/schema/schema.h') diff --git a/source4/dsdb/schema/schema.h b/source4/dsdb/schema/schema.h index 538b8581234..68c39c23927 100644 --- a/source4/dsdb/schema/schema.h +++ b/source4/dsdb/schema/schema.h @@ -201,8 +201,6 @@ struct dsdb_schema_info { struct dsdb_schema { - struct ldb_dn *base_dn; - struct dsdb_schema_prefixmap *prefixmap; /* -- cgit