Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

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
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Gaetan Bisson (vesath)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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

Loading...