From owner-freebsd-questions Thu Jun 6 16: 5:21 2002 Delivered-To: freebsd-questions@freebsd.org Received: from obsecurity.dyndns.org (adsl-63-207-60-56.dsl.lsan03.pacbell.net [63.207.60.56]) by hub.freebsd.org (Postfix) with ESMTP id C555837B401 for ; Thu, 6 Jun 2002 16:05:17 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 2256866C45; Thu, 6 Jun 2002 16:05:17 -0700 (PDT) Date: Thu, 6 Jun 2002 16:05:16 -0700 From: Kris Kennaway To: henry tieman Cc: freebsd-questions@FreeBSD.ORG Subject: Re: gcc -O and xsane crash Message-ID: <20020606160516.B30792@xor.obsecurity.org> References: <3CFF6B01.3080500@aracnet.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="aM3YZ0Iwxop3KEKx" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <3CFF6B01.3080500@aracnet.com>; from henryt_NOSPAM@aracnet.com on Thu, Jun 06, 2002 at 02:00:33PM +0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --aM3YZ0Iwxop3KEKx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 06, 2002 at 02:00:33PM +0000, henry tieman wrote: > I found a compiler problem with optimizations in Xsane-0.85. Gcc=20 > generates a test against an uninitialised variable in the function=20 > preview_autoselect_scanarea which can cause a memory overrun. Turning=20 > off optimazations cures the problem. You should report this to the xsane developers and the gcc developers, not the FreeBSD tech support list. Kris --aM3YZ0Iwxop3KEKx Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE8/+qrWry0BWjoQKURAvkwAKDp5lFlzCKExcxPcbK9QcyqCRKY2QCgwXK6 xk3I2RybBEJbU+FaUGjRBtE= =oMj7 -----END PGP SIGNATURE----- --aM3YZ0Iwxop3KEKx-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message