Changeset 4658

Show
Ignore:
Timestamp:
08/12/07 18:55:35 (7 years ago)
Author:
khali
Message:

Fix an array overrun in lm93. Original patch by Hans J. Koch, backported
from Linux 2.6.

Location:
lm-sensors/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/CHANGES

    r4653 r4658  
    77           Fix thmc50 support for Linux 2.6 
    88  Module i2c-piix4: Add ATI SB700 support (2.6 backport) 
     9  Module lm93: Fix an array overrun (2.6 backport) 
    910  Program sensors-detect: Don't probe i2c-isa as a regular i2c bus 
    1011 
  • lm-sensors/trunk/kernel/chips/lm93.c

    r4401 r4658  
    304304 
    305305        /* block6 has a lot of data we don't need */ 
    306         struct { u8 min; u8 max; } temp_lim[3]; 
     306        struct { u8 min; u8 max; } temp_lim[4]; 
    307307 
    308308        /* vin1 - vin16: low and high limits */