[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+55aFyii4yLORxxXKME6DgtmBsFbh8yN5SZjvDHLNOpj2+PqA@mail.gmail.com>
Date: Mon, 5 Aug 2013 13:43:37 -0700
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Casey Schaufler <casey@...aufler-ca.com>
Cc: James Morris <jmorris@...ei.org>,
LKLM <linux-kernel@...r.kernel.org>,
LSM <linux-security-module@...r.kernel.org>
Subject: Re: [PATCH] Smack: IPv6 casting error fix for 3.11
Why does this have the (largely same) commit message twice?
Linus
On Mon, Aug 5, 2013 at 1:21 PM, Casey Schaufler <casey@...aufler-ca.com> wrote:
> Subject: [PATCH] Smack: IPv6 casting error fix for 3.11
>
> The original implementation of the Smack IPv6 port based
> local controls works most of the time using a sockaddr as
> a temporary variable, but not always as it overflows in
> some circumstances. The correct data is a sockaddr_in6.
> A struct sockaddr isn't as large as a struct sockaddr_in6.
> There would need to be casting one way or the other. This
> patch gets it the right way.
>
> This problem required some effort to make occur in development
> with 3.10, but hits every time in 3.11. This patch should go
> into 3.11.
>
> Signed-off-by: Casey Schaufler <casey@...aufler-ca.com>
>
> ---
> Subject: [PATCH] Smack: IPv6 casting error fix
>
> The original implementation of the Smack IPv6 port based
> local controls works most of the time using a sockaddr as
> a temporary variable, but not always as it overflows in
> some circumstances. The correct data is a sockaddr_in6.
> A struct sockaddr isn't as large as a struct sockaddr_in6.
> There would need to be casting one way or the other. This
> patch gets it the right way.
>
> Signed-off-by: Casey Schaufler <casey@...aufler-ca.com>
>
> ---
> security/smack/smack_lsm.c | 24 +++++++++++-------------
> 1 files changed, 11 insertions(+), 13 deletions(-)
--
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