Dan Carpenter 5ffedc6ed3 NFC: llcp: two bugs in ->getname()
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-04-25 01:47:59 -04:00
..
2013-01-10 00:51:54 +01:00
2013-04-25 01:47:59 -04:00
2013-01-10 00:51:54 +01:00
2012-03-06 15:16:25 -05:00
2013-02-21 12:05:51 -08:00
2012-10-26 18:26:52 +02:00
2012-04-12 15:10:34 -04:00
2013-01-10 00:51:54 +01:00