Thread (8 messages) 8 messages, 3 authors, 2015-01-06

Re: [PATCH] Use memzero_explicit to clear local buffers

From: Giel van Schijndel <hidden>
Date: 2015-01-04 23:05:32
Also in: linux-cifs, lkml

On Sun, Jan 04, 2015 at 19:05:40 +0100, Giel van Schijndel wrote:
When leaving a function use memzero_explicit instead of memset(0) to
clear locally allocated/owned buffers. memset(0) may be optimized away.

All of the affected buffers contain sensitive data, key material or
derivatives of one of those two.
---
Forgot to:
Signed-off-by: Giel van Schijndel <redacted>

-- 
Met vriendelijke groet,
With kind regards,
Giel van Schijndel
--
"Question: what do you call your programming methodology?
 Answer: Faith based development. You code and then pray that it works."
  -- John Spelner

Attachments

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