]> err.no Git - linux-2.6/commit
hwmon: fix array overruns in lm93.c
authorHans-Jürgen Koch <hjk@linutronix.de>
Mon, 23 Jul 2007 07:36:57 +0000 (09:36 +0200)
committerMark M. Hoffman <mhoffman@lightlink.com>
Tue, 31 Jul 2007 01:04:13 +0000 (21:04 -0400)
commitf08a34874f93d5081c735ffcb2f9071be9b5d270
treef243afa3be5b81b7ef2501710f2ccca5e96cbfcf
parentadd77c64ca8b00dae5dc0a6be9eb89f1514d21ea
hwmon: fix array overruns in lm93.c

This fixes an array overflow bug. We have 4 pairs of min/max temperature
limits, not 3.

Signed-off-by: Hans J. Koch <hjk@linutronix.de>
Acked-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
drivers/hwmon/lm93.c