a28391f68a09eaedbe1a515f513ca56bbb94d7a5 |
|
08-Apr-2013 |
Jakub Hrozek <jhrozek@redhat.com> |
Allocate PAM DP request data on responder context
https://fedorahosted.org/sssd/ticket/1869
Currently the private data passed to the PAM request is a structure
allocated on the client context. But in the odd case where the back end
would be stopped or stuck until the idle timeout hits, the DP callback
would access data that were freed when the client timed out.
This patch introduces a new structure allocated on responder context,
whose only purpose is to live as long as the request is active. |