diff options
author | Sumit Bose <sbose@redhat.com> | 2015-03-04 14:08:09 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2015-03-13 16:09:24 +0100 |
commit | 2f5e98df40bce0cfcac728bac6d81149528c7bcc (patch) | |
tree | 0afc723ca1d47d2fadcea068052f1ec3d6f55589 | |
parent | 47f4632af5d622158ebd4ffe36593bde3ebc45f2 (diff) | |
download | sssd-2f5e98df40bce0cfcac728bac6d81149528c7bcc.tar.gz sssd-2f5e98df40bce0cfcac728bac6d81149528c7bcc.tar.xz sssd-2f5e98df40bce0cfcac728bac6d81149528c7bcc.zip |
ipa: make sure extdom expo data is available
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
(cherry picked from commit 7ee9ac32485483beece872d6fcb3096fa77a004b)
-rw-r--r-- | src/providers/ipa/ipa_s2n_exop.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/providers/ipa/ipa_s2n_exop.c b/src/providers/ipa/ipa_s2n_exop.c index d5e948061..d3502443c 100644 --- a/src/providers/ipa/ipa_s2n_exop.c +++ b/src/providers/ipa/ipa_s2n_exop.c @@ -165,6 +165,11 @@ static void ipa_s2n_exop_done(struct sdap_op *op, ret = ERR_NETWORK_IO; goto done; } + if (retdata == NULL) { + DEBUG(SSSDBG_CRIT_FAILURE, "Missing exop result data.\n"); + ret = EINVAL; + goto done; + } state->retoid = talloc_strdup(state, retoid); if (state->retoid == NULL) { |