This bug has been reported to FreeBSD but the submitter didn't report it to OpenSSH : http://www.freebsd.org/cgi/query-pr.cgi?pr=87067 The check if (strlcpy(cp, str, len) != len) is bogus because strlcpy will return strlen(str) i.e. len-1 so strdup will always return NULL. This affects OS that don't have strdup (I don't know who they are)
Fixed, thanks. The only platform known to be affected is Ultrix, hence why it was not caught earlier :-)
Change all RESOLVED bug to CLOSED with the exception of the ones fixed post-4.4.