summaryrefslogtreecommitdiffstats
path: root/makeaci
diff options
context:
space:
mode:
authorMartin Babinsky <mbabinsk@redhat.com>2015-01-28 16:25:14 +0100
committerMartin Kosek <mkosek@redhat.com>2015-01-30 11:02:16 +0100
commit13fb2b90672764bc549bb10b3749ec1369053caf (patch)
treeb83aaa11e82cab4acbe1c75c3023bf3f811a54e6 /makeaci
parenteb09e77f16f06c2f488c495785c42bda0bb257b4 (diff)
downloadfreeipa-13fb2b90672764bc549bb10b3749ec1369053caf.tar.gz
freeipa-13fb2b90672764bc549bb10b3749ec1369053caf.tar.xz
freeipa-13fb2b90672764bc549bb10b3749ec1369053caf.zip
ipa-kdb: more robust handling of principal addition/editing
The patch addresses the following defect reported by covscan in FreeIPA master: """ Error: FORWARD_NULL (CWE-476): /daemons/ipa-kdb/ipa_kdb_principals.c:1886: assign_zero: Assigning: "principal" = "NULL". /daemons/ipa-kdb/ipa_kdb_principals.c:1929: var_deref_model: Passing null pointer "principal" to "ipadb_entry_to_mods", which dereferences it. /daemons/ipa-kdb/ipa_kdb_principals.c:1491:9: deref_parm_in_call: Function "ipadb_get_ldap_mod_str" dereferences "principal". /daemons/ipa-kdb/ipa_kdb_principals.c:1174:5: deref_parm_in_call: Function "strdup" dereferences "value" """ This is a part of series of patches related to https://fedorahosted.org/freeipa/ticket/4795 Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
Diffstat (limited to 'makeaci')
0 files changed, 0 insertions, 0 deletions