Patch for a stack curruption introduced in B.02.17 and fixed upstream (ticket #632) OBS-URL: https://build.opensuse.org/request/show/203542 OBS-URL: https://build.opensuse.org/package/show/hardware/lshw?expand=0&rev=5
11 lines
299 B
Diff
11 lines
299 B
Diff
--- src/core/fat.cc
|
|
+++ src/core/fat.cc
|
|
@@ -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__));
|
|
|