diff --git a/CHANGES b/CHANGES index 321c9a41..b5726a9e 100644 --- a/CHANGES +++ b/CHANGES @@ -7,6 +7,7 @@ SVN-HEAD Module i2c-amd8111: Fix timeout handling (2.6 backport) Module i2c-piix4: ATI SB800 is not actually supported Module it87: Properly decode -128 degrees C (2.6 backport) + Program eepromer: Fix array initialization overrun Program sensord: Fix a memory leak when a chip name is provided Program sensors: Fix a memory leak when a chip name is provided Program sensors-detect: Fix detection of older DS1621 diff --git a/prog/eepromer/eepromer.c b/prog/eepromer/eepromer.c index 8273b26c..8a606103 100644 --- a/prog/eepromer/eepromer.c +++ b/prog/eepromer/eepromer.c @@ -402,7 +402,8 @@ int content_write(int file, int addr){ addr_cnt=HEAD_SIZE; k=0; - for(j=0;j<=MAX_BLK_SIZE;j++)buf[j]=0; + for(j=0;j