summaryrefslogtreecommitdiffstats
path: root/src/python/pysss_murmur.c
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2016-04-11 14:46:47 +0200
committerLukas Slebodnik <lslebodn@redhat.com>2016-04-12 23:25:07 +0200
commit22eead9590e11c7adab33ec5ab8b46d3c3cb4406 (patch)
tree872e7946bcfd93f11b28c2e659a7e12c22c793e8 /src/python/pysss_murmur.c
parentbdd533146cb2da71b7c39ad0efa2e5baca7257eb (diff)
downloadsssd-22eead9590e11c7adab33ec5ab8b46d3c3cb4406.tar.gz
sssd-22eead9590e11c7adab33ec5ab8b46d3c3cb4406.tar.xz
sssd-22eead9590e11c7adab33ec5ab8b46d3c3cb4406.zip
IPA: Check RDN in ipa_add_ad_memberships_get_next
LDB functions ldb_dn_get_component_val and ldb_dn_get_rdn_val validate dn before returning component value. It should be valid DN according to RFC4514. IPA/389ds might return problematic DN due to replication conflicts. e.g. "cn=System: Read Service Delegations+nsuniqueid=b0736336-d06e11e5-8e8acabe-ce8d458d,cn=permissions,dc=example,dc=com" It's better to check return value of these LDb function rather than crash because of dereference of NULL pointer. Resolves: https://fedorahosted.org/sssd/ticket/2980 Reviewed-by: Sumit Bose <sbose@redhat.com>
Diffstat (limited to 'src/python/pysss_murmur.c')
0 files changed, 0 insertions, 0 deletions