Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=f08a34874f93d5081c735ffcb2f9071be9b5d270
Commit:     f08a34874f93d5081c735ffcb2f9071be9b5d270
Parent:     add77c64ca8b00dae5dc0a6be9eb89f1514d21ea
Author:     Hans-J├╝rgen Koch <[EMAIL PROTECTED]>
AuthorDate: Mon Jul 23 09:36:57 2007 +0200
Committer:  Mark M. Hoffman <[EMAIL PROTECTED]>
CommitDate: Mon Jul 30 21:04:13 2007 -0400

    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 <[EMAIL PROTECTED]>
    Acked-by: Jean Delvare <[EMAIL PROTECTED]>
    Signed-off-by: Mark M. Hoffman <[EMAIL PROTECTED]>
---
 drivers/hwmon/lm93.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/hwmon/lm93.c b/drivers/hwmon/lm93.c
index 23edf4f..d84f8bf 100644
--- a/drivers/hwmon/lm93.c
+++ b/drivers/hwmon/lm93.c
@@ -234,7 +234,7 @@ struct lm93_data {
        struct {
                u8 min;
                u8 max;
-       } temp_lim[3];
+       } temp_lim[4];
 
        /* vin1 - vin16: low and high limits */
        struct {
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to