Re: [PATCH] information leak in sigaltstack

From: Ulrich Drepper
Date: Fri Jul 31 2009 - 17:39:05 EST


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Linus Torvalds wrote:

> if (alignof(oss.ss_flags) != alignof(oss))
> memset(&oss, 0, sizeof(oss));
>
> instead? That would seem to be less subtle, and more to-the-point.

I was just composing a reply with basically this. So you'll apply this
and don't wait for me to send a new version of the patch, right?

- --
â Ulrich Drepper â Red Hat, Inc. â 444 Castro St â Mountain View, CA â
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkpzZBwACgkQ2ijCOnn/RHSMUACeJkKaHTG97OcSkCa3jFCIFxvL
9JsAoK7IuTCiW+i1oR9Xlt3wo0YZPTCw
=9A0Y
-----END PGP SIGNATURE-----
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/