linux/drivers/isdn/mISDN
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
..
clock.c
core.c ISDN: convert class code to use dev_groups 2013-07-26 18:05:17 -07:00
core.h
dsp_audio.c
dsp_biquad.h
dsp_blowfish.c
dsp_cmx.c
dsp_core.c mISDN: return -EINVAL on error in dsp_control_req() 2013-08-30 17:52:44 -04:00
dsp_dtmf.c
dsp_ecdis.h
dsp_hwec.c
dsp_hwec.h
dsp_pipeline.c drivers: avoid format string in dev_set_name 2013-07-03 16:07:41 -07:00
dsp_tones.c
dsp.h
fsm.c
fsm.h
hwchannel.c
Kconfig
l1oip_codec.c
l1oip_core.c
l1oip.h
layer1.c
layer1.h
layer2.c
layer2.h
Makefile
socket.c net: add build-time checks for msg->msg_name size 2014-01-18 23:04:16 -08:00
stack.c
tei.c
timerdev.c mISDN: grabbing/dropping reference to THIS_MODULE in open/release is racy 2013-04-29 15:41:49 -04:00