From: | "Samuli Suominen (ssuominen)" <ssuominen@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-apps/lshw/files: lshw-02.17b-fat.patch |
Date: | Sat, 31 May 2014 14:45:08 |
Message-Id: | 20140531144502.239412004F@flycatcher.gentoo.org |
1 | ssuominen 14/05/31 14:45:02 |
2 | |
3 | Added: lshw-02.17b-fat.patch |
4 | Log: |
5 | Fix segfault, see ChangeLog for more |
6 | |
7 | (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 4868F14D) |
8 | |
9 | Revision Changes Path |
10 | 1.1 sys-apps/lshw/files/lshw-02.17b-fat.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/lshw/files/lshw-02.17b-fat.patch?rev=1.1&view=markup |
13 | 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 |
14 | |
15 | Index: lshw-02.17b-fat.patch |
16 | =================================================================== |
17 | http://bugs.gentoo.org/485496 |
18 | |
19 | --- src/core/fat.cc |
20 | +++ src/core/fat.cc |
21 | @@ -82,4 +82,5 @@ |
22 | uint8_t pmagic[2]; |
23 | } __attribute__((__packed__)) fat32; |
24 | + char sector[512]; // to make sure the whole struct is at least 512 bytes long |
25 | } __attribute__((__packed__)) type; |
26 | } __attribute__((__packed__)); |