android_kernel_samsung_msm8976/net/ieee802154
Steffen Hurrle cd7a863e1d net: add build-time checks for msg->msg_name size
This is a follow-up patch to f3d3342602f8bc ("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.

Change-Id: I0589c7ce694ef02dbc1e8b227fb51eeebf610e47
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>
2019-08-16 03:55:59 +02:00
..
6lowpan.c 6lowpan: fix lockdep splats 2014-03-06 21:30:02 -08:00
6lowpan.h 6lowpan: lowpan_is_iid_16_bit_compressable() does not detect compressible address correctly 2013-03-26 12:37:55 -04:00
Kconfig net/ieee802154: remove depends on CONFIG_EXPERIMENTAL 2013-01-11 11:40:00 -08:00
Makefile IEEE802.15.4: 6LoWPAN basic support 2011-08-24 19:36:06 -07:00
af802154.h
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 2019-08-16 03:55:59 +02:00
ieee802154.h
netlink.c netlink: fix the warning introduced by netlink API replacement 2013-03-29 14:44:37 -04:00
nl-mac.c ieee802154/nl-mac.c: make some MLME operations optional 2013-04-08 12:00:16 -04:00
nl-phy.c ieee802154: Fix memory leak in ieee802154_add_iface() 2014-02-06 11:08:16 -08:00
nl_policy.c
raw.c hlist: drop the node parameter from iterators 2013-02-27 19:10:24 -08:00
wpan-class.c driver-core: constify data for class_find_device() 2013-02-06 12:18:56 -08:00