mirror of
https://github.com/samba-team/samba.git
synced 2025-01-21 18:04:06 +03:00
CVE-2019-14847 dsdb/modules/dirsync: ensure attrs exist (CID 1107212)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14040 Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Gary Lockyer <gary@catalyst.net.nz> (cherry picked from commit 23f72c4d712f8d1fec3d67a66d477709d5b0abe2)
This commit is contained in:
parent
70078d4ddf
commit
ea39bdd629
@ -343,6 +343,10 @@ skip:
|
|||||||
|
|
||||||
attr = dsdb_attribute_by_lDAPDisplayName(dsc->schema,
|
attr = dsdb_attribute_by_lDAPDisplayName(dsc->schema,
|
||||||
el->name);
|
el->name);
|
||||||
|
if (attr == NULL) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
keep = false;
|
keep = false;
|
||||||
|
|
||||||
if (attr->linkID & 1) {
|
if (attr->linkID & 1) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user