On Wed, Sep 19, 2012 at 11:33:41PM +0200, Mathias Krause wrote: > The memory used for the template copy is a local stack variable. As > struct xfrm_user_tmpl contains multiple holes added by the compiler for > alignment, not initializing the memory will lead to leaking stack bytes > to userland. Add an explicit memset(0) to avoid the info leak. > > Initial version of the patch by Brad Spengler. > > Cc: Brad Spengler <[email protected]> > Signed-off-by: Mathias Krause <[email protected]>
Patches 1-4: Acked-by: Steffen Klassert <[email protected]> -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

