summaryrefslogtreecommitdiffstats
path: root/src/providers
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2011-10-25 15:19:02 -0400
committerStephen Gallagher <sgallagh@redhat.com>2011-10-26 10:29:40 -0400
commitcb47ceb86a3c31b300190da57c0a56983fe56234 (patch)
tree51c4281be5e30467d761ceb0cf79886a70f68b0f /src/providers
parent4a2ef67e652a2c9f2d666bca277616e077686760 (diff)
downloadsssd-cb47ceb86a3c31b300190da57c0a56983fe56234.tar.gz
sssd-cb47ceb86a3c31b300190da57c0a56983fe56234.tar.xz
sssd-cb47ceb86a3c31b300190da57c0a56983fe56234.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')
0 files changed, 0 insertions, 0 deletions