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

Valdis.Kletnieks_at_vt.edu
Date: 04/30/03

  • Next message: Conectiva Updates: "[CLA-2003:614] REVISED: Conectiva Security Announcement - sendmail"
    To: Damien Miller <djm@mindrot.org>
    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
    
    



  • Next message: Conectiva Updates: "[CLA-2003:614] REVISED: Conectiva Security Announcement - sendmail"