Messages in this thread | | | Date | Tue, 09 Apr 2013 15:05:43 -0400 (EDT) | Subject | Re: [PATCH] net: pre-clear the returned sockaddr_storage variable | From | David Miller <> |
| |
From: Kees Cook <keescook@chromium.org> Date: Tue, 9 Apr 2013 10:50:24 -0700
> To avoid future stack content leaks in the various protocols, pre-clear > the returned memory. > > Signed-off-by: Kees Cook <keescook@chromium.org> > Suggested-by: Brad Spengler <spender@grsecurity.net>
No thanks, clearing 2 full cache lines unnecessarily on every socket call has real cost.
| |