git.samba.org
/
amitay
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
249fbd8
)
s4-schema: avoid segfaulting if id3.guid is NULL
author
Matthieu Patou
<mat@matws.net>
Wed, 22 Jun 2011 16:54:37 +0000
(20:54 +0400)
committer
Matthieu Patou
<mat@samba.org>
Wed, 22 Jun 2011 18:13:08 +0000
(20:13 +0200)
source4/dsdb/schema/schema_syntax.c
patch
|
blob
|
history
diff --git
a/source4/dsdb/schema/schema_syntax.c
b/source4/dsdb/schema/schema_syntax.c
index f542f670f1b1513829e5b6abdf4d379a6b37cd23..a93cdfaaa913591b77d2e4d832ddfbfefae8ef58 100644
(file)
--- a/
source4/dsdb/schema/schema_syntax.c
+++ b/
source4/dsdb/schema/schema_syntax.c
@@
-1995,10
+1995,9
@@
static WERROR dsdb_syntax_DN_BINARY_drsuapi_to_ldb(const struct dsdb_syntax_ctx
talloc_free(tmp_ctx);
return WERR_FOOBAR;
}
+ talloc_free(guid_blob.data);
}
- talloc_free(guid_blob.data);
-
if (id3.__ndr_size_sid) {
DATA_BLOB sid_blob;
ndr_err = ndr_push_struct_blob(&sid_blob, tmp_ctx, &id3.sid,