TUCoPS :: Unix :: Various Flavours :: bt1456.txt

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


This is a multi-part message in MIME format.

------=_NextPart_000_011A_01C39EE1.65D390A0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit


----- Original Message ----- 
From: <Valdis.Kletnieks@vt.edu>
To: "Damien Miller" <djm@mindrot.org>
Sent: Wednesday, April 30, 2003 10:09 AM
Subject: Re: Portable OpenSSH: Dangerous AIX linker behavior (aixgcc.adv) 



------=_NextPart_000_011A_01C39EE1.65D390A0
Content-Type: text/plain;
	name="ATT00270.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="ATT00270.txt"

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


------=_NextPart_000_011A_01C39EE1.65D390A0
Content-Type: application/octet-stream;
	name="ATT00273.dat"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="ATT00273.dat"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Exmh version 2.5 07/13/2001

iD8DBQE+sBFVcC3lWbTT17ARArHcAKCDu2hB3riPBiOAYAf+1AnQMmPvcgCeMCS4
vVg4msRDcdpI4ZhCMMwInjg=
=znrj
-----END PGP SIGNATURE-----

------=_NextPart_000_011A_01C39EE1.65D390A0--

TUCoPS is optimized to look best in Firefox® on a widescreen monitor (1440x900 or better).
Site design & layout copyright © 1986-2024 AOH