linux/net/ieee802154
Steffen Hurrle 342dfc306f net: add build-time checks for msg->msg_name size
This is a follow-up patch to f3d3342602 ("net: rework recvmsg
handler msg_name and msg_namelen logic").

DECLARE_SOCKADDR validates that the structure we use for writing the
name information to is not larger than the buffer which is reserved
for msg->msg_name (which is 128 bytes). Also use DECLARE_SOCKADDR
consistently in sendmsg code paths.

Signed-off-by: Steffen Hurrle <steffen@hurrle.net>
Suggested-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-01-18 23:04:16 -08:00
..
6lowpan_iphc.c 6lowpan: cleanup udp compress function 2013-12-17 06:16:48 -08:00
6lowpan.c net: 6lowpan: fix lowpan_header_create non-compression memcpy call 2014-01-05 20:25:24 -05:00
6lowpan.h 6lowpan: add udp warning for elided checksum 2013-12-17 06:16:48 -08:00
af802154.h net: add IEEE 802.15.4 socket family implementation 2009-06-09 05:25:32 -07:00
af_ieee802154.c ieee802154: free skb buffer if dev isn't running 2011-06-30 16:18:09 +04:00
dgram.c net: add build-time checks for msg->msg_name size 2014-01-18 23:04:16 -08:00
ieee802154.h genetlink: make multicast groups const, prevent abuse 2013-11-19 16:39:06 -05:00
Kconfig net: move 6lowpan compression code to separate module 2014-01-15 15:36:38 -08:00
Makefile net: move 6lowpan compression code to separate module 2014-01-15 15:36:38 -08:00
netlink.c genetlink: make multicast groups const, prevent abuse 2013-11-19 16:39:06 -05:00
nl_policy.c ieee802154: add LIST_PHY command support 2009-11-06 14:31:22 +03:00
nl-mac.c genetlink: make multicast groups const, prevent abuse 2013-11-19 16:39:06 -05:00
nl-phy.c ieee802154: Fix memory leak in ieee802154_add_iface() 2014-01-14 15:40:56 -08:00
raw.c hlist: drop the node parameter from iterators 2013-02-27 19:10:24 -08:00
wpan-class.c ieee802154: space prohibited before that close parenthesis 2013-12-27 13:06:16 -05:00