lkml.org 
[lkml]   [2019]   [Oct]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] kernel: sys.c: Avoid copying possible padding bytes in copy_to_user
We should be able to use memzero_explicit(), right?

The fact that we memset() can't be used to prevent information leaks has
always worried me. Everyone predicted that we would have bugs like this
where memset doesn't work as expected.

regards,
dan carpenter

\
 
 \ /
  Last update: 2019-10-28 08:33    [W:0.339 / U:0.528 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site