| Summary: | Botched getpwuid usage on Mac OS X | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Disco Vince Giffin <vgiffin> | ||||
| Component: | ssh | Assignee: | Assigned to nobody <unassigned-bugs> | ||||
| Status: | CLOSED FIXED | ||||||
| Severity: | normal | CC: | dtucker | ||||
| Priority: | P2 | ||||||
| Version: | 4.7p1 | ||||||
| Hardware: | Other | ||||||
| OS: | Mac OS X | ||||||
| Attachments: |
|
||||||
This one has already been fixed in CVS head (ssh.c rev 1.297) with an almost identical change. Close resolved bugs after release. |
Created attachment 1409 [details] This patch corrects the usage of getpwuid for POSIX. Attached is a patch for building OpenSSH 4.7p1 on Mac OS X. Fixes a bug where ssh makes calls to getpwuid and expects the returned value to remain unchanged after subsequent calls, which is not guaranteed by POSIX.