lkml.org 
[lkml]   [2010]   [Oct]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [stable] [PATCH v2] ipc: initialize structure memory to zero for shmctl
On Wed, Oct 06, 2010 at 07:18:36PM -0700, Kees Cook wrote:
> The old shm interface will leak a few bytes of stack contents. Explicitly
> initialize the structure to zero-fill the untouched fields, using memset
> instead of C99-style in case there are ever holes in the structure.
>
> Signed-off-by: Kees Cook <kees.cook@canonical.com>
> ---

If you wish to have a patch included in the stable series, please read
Documentation/stable_kernel_rules.txt which state that adding a:
Cc: stable <stable@kernel.org>
to the signed-off-by: area will cause it to be automagically included
when the patch gets into Linus's tree. Otherwise it just causes a lot
of extra work for me to dig around and watch out for it in the future.

thanks,

greg k-h


\
 
 \ /
  Last update: 2010-10-07 05:01    [W:0.028 / U:0.324 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site