FS#23995 - [slim] fix pointer handling
Attached to Project:
Arch Linux
Opened by Christian Hesse (eworm) - Friday, 29 April 2011, 20:10 GMT
Last edited by Gaetan Bisson (vesath) - Sunday, 01 May 2011, 17:06 GMT
Opened by Christian Hesse (eworm) - Friday, 29 April 2011, 20:10 GMT
Last edited by Gaetan Bisson (vesath) - Sunday, 01 May 2011, 17:06 GMT
|
Details
The problem is in the conv() function in app.cpp, which
treats its "resp" argument as a pointer to a pointer to an
array of pam_response structures, while it's actually a
pointer to an array of pointers to pam_response structures.
That is, it does things like "resp[i]->resp=0;" instead
of "(*resp)[i].resp=0;". This fails when the calling PAM
module expects more than one response at a time. Thus the
PAM module doesn't receive a password and authentication
fails.
Upstream bug report and patch: http://developer.berlios.de/bugs/?func=detailbug&bug_id=15287&group_id=2663 http://developer.berlios.de/patch/download.php?id=3150 Additional info: slim 1.3.2-4 |
This task depends upon
Closed by Gaetan Bisson (vesath)
Sunday, 01 May 2011, 17:06 GMT
Reason for closing: Fixed
Additional comments about closing: slim-1.3.2-5
Sunday, 01 May 2011, 17:06 GMT
Reason for closing: Fixed
Additional comments about closing: slim-1.3.2-5