diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2011-10-25 15:19:02 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2011-10-25 16:18:41 -0400 |
commit | 7923209b738b591fc01ccfee2cfca4ecfb7cd6dd (patch) | |
tree | 9cd7b46e0cfdedc14d1b667810986b5e8b844634 /src/providers/ldap/sdap_async_accounts.c | |
parent | f4e521c0fe91f0f46391898542a76169d3554cf8 (diff) | |
download | sssd_unused-7923209b738b591fc01ccfee2cfca4ecfb7cd6dd.tar.gz sssd_unused-7923209b738b591fc01ccfee2cfca4ecfb7cd6dd.tar.xz sssd_unused-7923209b738b591fc01ccfee2cfca4ecfb7cd6dd.zip |
RESPONDER: Fix segfault in sss_packet_send()
There are several places (all error-handling) where sss_cmd_done()
is called with no response packet created. As a short-term
solution, we need to check whether the packet is NULL and simply
return EINVAL. client_send() (the consumer) will then forcibly
disconnect the client (which will return PAM_SYSTEM_ERR to the
client).
Diffstat (limited to 'src/providers/ldap/sdap_async_accounts.c')
0 files changed, 0 insertions, 0 deletions