mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-10-24 14:17:41 -05:00
extdom: do not fail to process error case when no request is specified
Coverity CID 13130 Reviewed-By: Christian Heimes <cheimes@redhat.com>
This commit is contained in:
1 parent
f7429a2dec
commit
3208a09384
1 file changed
+1
-1
@@ -149,7 +149,7 @@ static int ipa_extdom_extop(Slapi_PBlock *pb)
|
||||
rc = LDAP_SUCCESS;
|
||||
|
||||
done:
|
||||
if (req->err_msg != NULL) {
|
||||
if ((req != NULL) && (req->err_msg != NULL)) {
|
||||
err_msg = req->err_msg;
|
||||
}
|
||||
if (err_msg != NULL) {
|
||||
|
||||
Reference in new issue
Block a user