android_kernel_samsung_msm8976/net/irda
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
..
ircomm net: irda: fix wait_until_sent poll timeout 2015-03-18 13:22:31 +01:00
irlan
irnet
Kconfig
Makefile
af_irda.c net: add build-time checks for msg->msg_name size 2019-08-16 03:55:59 +02:00
discovery.c
irda_device.c
iriap.c irda: small read past the end of array in debug code 2013-04-19 17:32:31 -04:00
iriap_event.c
irias_object.c
irlap.c
irlap_event.c
irlap_frame.c net: irda: using kzalloc() instead of kmalloc() to avoid strncpy() issue. 2013-05-19 15:10:47 -07:00
irlmp.c irda: precedence bug in irlmp_seq_hb_idx() 2015-12-09 13:40:06 -05:00
irlmp_event.c
irlmp_frame.c
irmod.c
irnetlink.c
irproc.c
irqueue.c irda: Fix lockdep annotations in hashbin_delete(). 2017-04-22 23:02:49 +02:00
irsysctl.c
irttp.c
parameters.c
qos.c
timer.c
wrapper.c