summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2014-05-31 14:45:01 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2014-05-31 14:45:01 +0000
commit3a3546cf61728ac7eac8890a11e4f9a516df11c2 (patch)
treef72ca007ade02fc8adfa239ea9ed369c7b9d4169 /sys-apps/lshw/files
parentVersion bump, drop old (diff)
downloadgentoo-2-3a3546cf61728ac7eac8890a11e4f9a516df11c2.tar.gz
gentoo-2-3a3546cf61728ac7eac8890a11e4f9a516df11c2.tar.bz2
gentoo-2-3a3546cf61728ac7eac8890a11e4f9a516df11c2.zip
Fix segfault, see ChangeLog for more
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
Diffstat (limited to 'sys-apps/lshw/files')
-rw-r--r--sys-apps/lshw/files/lshw-02.17b-fat.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/sys-apps/lshw/files/lshw-02.17b-fat.patch b/sys-apps/lshw/files/lshw-02.17b-fat.patch
new file mode 100644
index 000000000000..08654fd5af6f
--- /dev/null
+++ b/sys-apps/lshw/files/lshw-02.17b-fat.patch
@@ -0,0 +1,10 @@
+http://bugs.gentoo.org/485496
+
+--- src/core/fat.cc
++++ src/core/fat.cc
+@@ -82,4 +82,5 @@
+ 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__));