Thread (20 messages) flat view 20 messages, 12 authors, 2016-08-25

Re: CVE-2014-9900 fix is not upstream

From: One Thousand Gnomes <hidden>
Date: 2016-08-25 16:10:44
Also in: lkml

quoted
I see someone did request it 2 years ago:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63479  
I don't think this is sufficient. Basically if you write one field in a
struct after a memset again, the compiler is allowed by the standard to
write padding bytes again, causing them to be undefined.
The question is simply what gcc actually does. The rest is C language
lawyering and since the kernel isn't written to the C language spec but
to gcc only gcc matters.

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