summaryrefslogtreecommitdiff
path: root/src/tests/debug-tests.c
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2011-10-25 15:19:02 -0400
committerStephen Gallagher <sgallagh@redhat.com>2011-11-02 11:22:31 -0400
commita52eb1f0635282a7851b2f2b23a4d6a26eab37ce (patch)
tree72a501febdeb2b7e073945e02c6b94c828b8ca0b /src/tests/debug-tests.c
parent1bbd4c57fc31cec302244725e698413623818d19 (diff)
downloadsssd-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 'src/tests/debug-tests.c')
0 files changed, 0 insertions, 0 deletions