mirror of
https://github.com/samba-team/samba.git
synced 2025-12-14 20:23:54 +03:00
r13354: Add tests to check that controls work properly
Fix asq module, add a second_stage_init to register with rootdse
Fix asq control ldap parsing routines (this was nasty to find out)
(This used to be commit 933a80397d)
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
096c2dc103
commit
3721bca79d
@@ -304,7 +304,7 @@ static BOOL decode_asq_control(void *mem_ctx, DATA_BLOB in, void **out)
|
||||
}
|
||||
lac->src_attr_len = source_attribute.length;
|
||||
if (lac->src_attr_len) {
|
||||
lac->source_attribute = talloc_memdup(lac, source_attribute.data, source_attribute.length);
|
||||
lac->source_attribute = talloc_strndup(lac, source_attribute.data, source_attribute.length);
|
||||
|
||||
if (!(lac->source_attribute)) {
|
||||
return False;
|
||||
|
||||
Reference in New Issue
Block a user