Bugtraq mailing list archives

Re: Portable OpenSSH: Dangerous AIX linker behavior (aixgcc.adv)


From: Valdis.Kletnieks () vt edu
Date: Wed, 30 Apr 2003 14:09:25 -0400

On Wed, 30 Apr 2003 13:39:49 +1000, Damien Miller <djm () mindrot org>  said:
1. Systems affected:

      Users of Portable OpenSSH prior to 3.6.1p2 on AIX are affected 
      if OpenSSH was compiled using a non-AIX compiler (e.g. gcc).

This is the same problem as I spotted in Sendmail 8.10.  Basically,
somewhere, linking is being done with "-L. -lfoo" or similar (in sendmail's
case, it was -L../otherdir type stuff).

Workaround/fix:  Link with "-bnolibpath -blibpath:/usr/local/lib:/usr/lib"
or similar.
-- 
                                Valdis Kletnieks
                                Computer Systems Senior Engineer
                                Virginia Tech

Attachment: _bin
Description:


Current thread: