lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Fri, 5 Jun 2009 17:02:40 +1000
From:	Herbert Xu <herbert@...dor.apana.org.au>
To:	Jarod Wilson <jarod@...hat.com>
Cc:	linux-crypto@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>,
	Neil Horman <nhorman@...driver.com>
Subject: Re: [RFC PATCH] crypto: add buffer overflow checks to testmgr

On Thu, Jun 04, 2009 at 05:59:36PM -0400, Jarod Wilson wrote:
> 
> One note... This is actually causing some new compile warnings to be
> spit out, varies from arch to arch, dependent on page size... ppc64
> with 64k pages is the worst offender:
> 
> crypto/testmgr.c: In function 'test_nhash':
> crypto/testmgr.c:194: warning: comparison is always false due to limited range of data type
> crypto/testmgr.c: In function 'test_aead':
> crypto/testmgr.c:374: warning: comparison is always false due to limited range of data type
> crypto/testmgr.c:375: warning: comparison is always false due to limited range of data type
> crypto/testmgr.c: In function 'test_cipher':
> crypto/testmgr.c:676: warning: comparison is always false due to limited range of data type
> crypto/testmgr.c: In function 'test_skcipher':
> crypto/testmgr.c:771: warning: comparison is always false due to limited range of data type

Don't worry, this warning will go away as soon as you move to a
more up-to-date gcc :)

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ