Bug 446844
| Summary: | in.authd gives strange response, segfaults | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Tor Ake Fransson <tor-ake> | ||||
| Component: | authd | Assignee: | Roman Rakus <rrakus> | ||||
| Status: | CLOSED ERRATA | QA Contact: | |||||
| Severity: | high | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | 5.1 | CC: | msusta, rvokal, sghosh, tsmetana | ||||
| Target Milestone: | rc | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2009-04-22 12:52:04 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Tor Ake Fransson
2008-05-16 13:03:18 UTC
Bad work with valist. va_start and va_end must be called twice. Created attachment 306246 [details]
Corrected va_{start, end} calls
After replacing authd with gidentd it is apparent that the latter case when authd responds "port,port : ERROR :user" (found a valid user but error flag is set) is due to a corner case when get_info first fails at authd.c:894, setting the out.error flag (and putting error information in out.s) and then succeeds in one of the retries, replacing the out.s error message with the username but not clearing out.error. There are several places in get_info() where setting out->error is done without logging a warning, so there is currently no way of knowing what actually went wrong, as out.s is overwritten. This request was evaluated by Red Hat Product Management for inclusion, but this component is not scheduled to be updated in the current Red Hat Enterprise Linux release. If you would like this request to be reviewed for the next minor release, ask your support representative to set the next rhel-x.y flag to "?". Fixed in authd-1.4.3-10 An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2009-0442.html |