[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20130425.014911.738013858577867185.davem@davemloft.net>
Date: Thu, 25 Apr 2013 01:49:11 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: dan.carpenter@...cle.com
Cc: lauro.venancio@...nbossa.org, aloisio.almeida@...nbossa.org,
sameo@...ux.intel.com, linville@...driver.com,
thierry.escande@...ux.intel.com, levinsasha928@...il.com,
linux-wireless@...r.kernel.org, linux-nfc@...1.01.org,
netdev@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [patch] NFC: llcp: two bugs in ->getname()
From: Dan Carpenter <dan.carpenter@...cle.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@...cle.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists