ITS#10467 Make sure source is always set

This commit is contained in:
Ondřej Kuzník 2026-03-19 14:24:21 +00:00 committed by Quanah Gibson-Mount
parent 3c7240b1f2
commit 4e327a4d11

View file

@ -220,7 +220,7 @@ alias_response( Operation *op, SlapReply *rs )
}
for ( mapping = ov->mappings; mapping && mapping->source; mapping++ ) {
Attribute *source, *a;
Attribute *source = NULL, *a;
int operational = is_at_operational( mapping->source->ad_type ),
keep_source = 0;
slap_mask_t requested = operational ?