[prev in list] [next in list] [prev in thread] [next in thread]
List: kernel-janitors
Subject: Re: [patch] NFC: llcp: two bugs in ->getname()
From: David Miller <davem () davemloft ! net>
Date: 2013-04-25 5:49:11
Message-ID: 20130425.014911.738013858577867185.davem () davemloft ! net
[Download RAW message or body]
From: Dan Carpenter <dan.carpenter@oracle.com>
Date: Tue, 23 Apr 2013 09:24:52 +0300
> The sockaddr_nfc_llcp struct has as hole between ->sa_family and
> ->dev_idx so I've added a memset() to clear it and prevent an
> information leak.
>
> Also the ->nfc_protocol element wasn't set so I've added that.
>
> "uaddr->sa_family" and "llcp_addr->sa_family" are the same thing but
> it's less confusing to use llcp_addr consistently throughout.
>
> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic