[SSSD] [PATCH] RESPONDER: Fix segfault in sss_packet_send()
Jakub Hrozek
jhrozek at redhat.com
Tue Oct 25 20:11:40 UTC 2011
On Tue, Oct 25, 2011 at 03:25:35PM -0400, Stephen Gallagher wrote:
> 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).
>
> This is a quick fix for
> https://bugzilla.redhat.com/show_bug.cgi?id=748924
>
> We don't have enough information (or steps to reproduce) to trace back
> the processing to its origin, so the best thing we can do for the moment
> is to simply prevent the crash. The client will receive an error, but
> the SSSD will continue to function.
Ack
would it make sense to add a loud DEBUG() debug message so we are notified
when this hits again?
More information about the sssd-devel
mailing list