ssuominen 14/05/31 14:45:02 Added: lshw-02.17b-fat.patch Log: Fix segfault, see ChangeLog for more (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
Revision Changes Path 1.1 sys-apps/lshw/files/lshw-02.17b-fat.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/lshw/files/lshw-02.17b-fat.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/lshw/files/lshw-02.17b-fat.patch?rev=1.1&content-type=text/plain Index: lshw-02.17b-fat.patch =================================================================== 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__));
