[-]
[+]
|
Changed |
lshw.changes
|
|
[-]
[+]
|
Changed |
lshw.spec
^
|
|
[-]
[+]
|
Added |
lshw-fix-segfault_bufferoverflow-in-readlogicalblocks.patch
^
|
@@ -0,0 +1,13 @@
+Import buffer overflow fix from lshw-development : svn commit 2528.
+Index: src/core/fat.cc
+===================================================================
+--- a/src/core/fat.cc (révision 2527)
++++ b/src/core/fat.cc (révision 2528)
+@@ -81,6 +81,7 @@
+ uint8_t dummy2[164];
+ uint8_t pmagic[2];
+ } __attribute__((__packed__)) fat32;
++ char sector[512]; // to make sure the whole struct is at least 512 bytes long
+ } __attribute__((__packed__)) type;
+ } __attribute__((__packed__));
+
|