mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-13 17:00:15 +00:00
Fix an array overrun in lm93. Original patch by Hans J. Koch, backported
from Linux 2.6. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4658 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
bd31c1ece8
commit
1b69a84283
2 files changed
+2
-1
No files matched your search
+1
-1
@@ -303,7 +303,7 @@ struct lm93_data {
|
||||
u16 block5[4];
|
||||
|
||||
/* block6 has a lot of data we don't need */
|
||||
struct { u8 min; u8 max; } temp_lim[3];
|
||||
struct { u8 min; u8 max; } temp_lim[4];
|
||||
|
||||
/* vin1 - vin16: low and high limits */
|
||||
struct { u8 min; u8 max; } block7[16];
|
||||
|
||||
Reference in new issue
Block a user