pptp: verify sockaddr_len in pptp_bind() and pptp_connect()
commit83f2b0860770d05f14cb8ce29ffd18f2f5585a4e
authorWANG Cong <xiyou.wangcong@gmail.com>
Mon, 14 Dec 2015 21:48:36 +0000 (14 13:48 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 23 Jan 2016 03:47:55 +0000 (22 19:47 -0800)
treedd1556ce0ce3f0f5bfc3071826b17f56d4b70ec9
parent457fca596cd37ea06006b290bdbc5c7c5d8a12e3
pptp: verify sockaddr_len in pptp_bind() and pptp_connect()

[ Upstream commit 09ccfd238e5a0e670d8178cf50180ea81ae09ae1 ]

Reported-by: Dmitry Vyukov <dvyukov@gmail.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ppp/pptp.c