diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2011-10-25 15:19:02 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2011-11-02 11:22:31 -0400 |
commit | a52eb1f0635282a7851b2f2b23a4d6a26eab37ce (patch) | |
tree | 72a501febdeb2b7e073945e02c6b94c828b8ca0b /contrib | |
parent | 1bbd4c57fc31cec302244725e698413623818d19 (diff) | |
download | sssd-a52eb1f0635282a7851b2f2b23a4d6a26eab37ce.tar.gz sssd-a52eb1f0635282a7851b2f2b23a4d6a26eab37ce.tar.bz2 sssd-a52eb1f0635282a7851b2f2b23a4d6a26eab37ce.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 'contrib')
0 files changed, 0 insertions, 0 deletions