[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20101007025542.GA10460@kroah.com>
Date: Wed, 6 Oct 2010 19:55:42 -0700
From: Greg KH <greg@...ah.com>
To: Kees Cook <kees.cook@...onical.com>
Cc: linux-kernel@...r.kernel.org, stable@...nel.org,
Andrew Morton <akpm@...ux-foundation.org>,
Jiri Slaby <jslaby@...e.cz>, Al Viro <viro@...iv.linux.org.uk>,
"David S. Miller" <davem@...emloft.net>
Subject: Re: [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@...onical.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@...nel.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists