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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.11.1506081508450.4133@nanos>
Date:	Mon, 8 Jun 2015 15:10:50 +0200 (CEST)
From:	Thomas Gleixner <tglx@...utronix.de>
To:	David Binderman <dcb314@...mail.com>
cc:	"jason@...edaemon.net" <jason@...edaemon.net>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: linux-4.1-rc7/drivers/irqchip/irq-renesas-intc-irqpin.c:418:
 array index used before limits check ?

On Mon, 8 Jun 2015, David Binderman wrote:

> Hello there,
> 
> [linux-4.1-rc7/drivers/irqchip/irq-renesas-intc-irqpin.c:418]: (style) Array ind
> ex 'k' is used before limits check.
> 
>    if (!io[k] && k < INTC_IRQPIN_REG_NR_MANDATORY) {
> 
> Suggest sanity check array index before use.

Which version of gcc is being stupid here?

Thanks,

	tglx

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ