mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* linux-4.1-rc7/drivers/irqchip/irq-renesas-intc-irqpin.c:418: array index used before limits check ?
@ 2015-06-08 11:05 David Binderman
  2015-06-08 13:10 ` Thomas Gleixner
  0 siblings, 1 reply; 5+ messages in thread
From: David Binderman @ 2015-06-08 11:05 UTC (permalink / raw)
  To: tglx, jason; +Cc: linux-kernel

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.

Regards

David Binderman

 		 	   		  

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-06-08 16:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-08 11:05 linux-4.1-rc7/drivers/irqchip/irq-renesas-intc-irqpin.c:418: array index used before limits check ? David Binderman
2015-06-08 13:10 ` Thomas Gleixner
2015-06-08 13:16   ` David Binderman
2015-06-08 13:26     ` Thomas Gleixner
2015-06-08 16:40       ` David Binderman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®