Thread (1 message) 1 message, 1 author, 2016-08-25

Re: CVE-2014-9900 fix is not upstream

From: Johannes Berg <johannes@sipsolutions.net>
Date: 2016-08-25 12:41:22
Also in: lkml

struct ethtool_wolinfo {
        __u32   cmd;
        __u32   supported;
        __u32   wolopts;
        __u8    sopass[SOPASS_MAX];     // 6, actually
};

we could do

struct ethtool_wolinfo {
        __u32   cmd;
        __u32   supported;
        __u32   wolopts;
        __u8    sopass[SOPASS_MAX];     // 6, actually
	__u8	reserved[2];
};

and then the compiler has to properly treat it, since it's no longer
unnamed padding.
Although, on some architectures, that could actually break the ABI by
changing the size, oh well.

johannes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help