From owner-freebsd-security@FreeBSD.ORG Sun Dec 11 17:38:09 2005 Return-Path: X-Original-To: freebsd-security@freebsd.org Delivered-To: freebsd-security@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DB40316A41F for ; Sun, 11 Dec 2005 17:38:09 +0000 (GMT) (envelope-from simon@zaphod.nitro.dk) Received: from zaphod.nitro.dk (zarniwoop.nitro.dk [83.92.207.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 67C0043D69 for ; Sun, 11 Dec 2005 17:38:09 +0000 (GMT) (envelope-from simon@zaphod.nitro.dk) Received: by zaphod.nitro.dk (Postfix, from userid 3000) id 38709114AF; Sun, 11 Dec 2005 18:38:08 +0100 (CET) Date: Sun, 11 Dec 2005 18:38:08 +0100 From: "Simon L. Nielsen" To: Zahemszky =?iso-8859-1?Q?G=E1bor?= Message-ID: <20051211173807.GA6202@zaphod.nitro.dk> References: <439C5E30.9090605@Zahemszky.HU> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZPt4rx8FFjLCG7dd" Content-Disposition: inline In-Reply-To: <439C5E30.9090605@Zahemszky.HU> User-Agent: Mutt/1.5.11 Cc: freebsd-security@freebsd.org Subject: Re: bug? in making security/isakmpd X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Security issues \[members-only posting\]" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Dec 2005 17:38:10 -0000 --ZPt4rx8FFjLCG7dd Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2005.12.11 18:13:20 +0100, Zahemszky G=E1bor wrote: > There is a little problem in the security/isakmpd port. There are some=20 > gen*.sh scripts in it, which generate some C header (and src) files.=20 > These scripts are using awk, tr, etc - some generic UNIX tools. One of=20 > the tools has problems with some localisations, so these scripts=20 > generate incorrect C-code. Eg, I have Hungarian localisation set, so I=20 > have the following in my environ: >=20 > LANG=3Dhu_HU.ISO8859-2 Yes, this is a known problem with the isakmpd build code which I unfortunately haven't gotten around to fixing. AFAIR it also fails with German locale. I suspect the simple fix is to set LC_ALL=3DC in the build environment for the port. > I think the real problem is the bug in tr/awk - maybe somebody has to=20 > look at it, too. Without having looked at the details, I think it's more likely that the isakmpd build scripts misuses tr/awk, e.g. doing something like 'tr [a-z] [A-Z] ' to upper case a string (should be 'tr [:lower:] [:upper:]'). --=20 Simon L. Nielsen --ZPt4rx8FFjLCG7dd Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDnGP/h9pcDSc1mlERAiTIAKCo/0NRCQQTfNQyXjsjas0QVEAi9wCdHGGq PWsXE7nRiz/fbS3uihHPVOQ= =yMzt -----END PGP SIGNATURE----- --ZPt4rx8FFjLCG7dd--