linux/net/nfc/llcp
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
..
commands.c NFC: Add support for SO_TIMESTAMP LLCP socket option 2013-01-10 00:44:24 +01:00
Kconfig NFC: Remove CONFIG_EXPERIMENTAL from the LLCP Makefile 2012-10-26 18:26:52 +02:00
llcp.c NFC: llcp: Remove possible double call to kfree_skb 2013-03-20 16:46:40 +01:00
llcp.h NFC: llcp: Remove the tx backlog queue 2013-01-10 00:44:31 +01:00
sock.c NFC: llcp: two bugs in ->getname() 2013-04-25 01:47:59 -04:00