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.
This one has already been fixed in CVS head (ssh.c rev 1.297) with an almost identical change.
Close resolved bugs after release.