diff options
author | Guillaume Nault <[email protected]> | 2018-04-23 16:15:14 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-04-23 21:10:43 -0400 |
commit | eb1c28c05894a4b1f6b56c5bf072205e64cfa280 (patch) | |
tree | 0de3c2e5837660745019af3c67e19249105b86c3 /lib/memory-notifier-error-inject.c | |
parent | b6a930fa88083b41d26ddf1cab95cbd740936c22 (diff) |
l2tp: check sockaddr length in pppol2tp_connect()
Check sockaddr_len before dereferencing sp->sa_protocol, to ensure that
it actually points to valid data.
Fixes: fd558d186df2 ("l2tp: Split pppol2tp patch into separate l2tp and ppp parts")
Reported-by: [email protected]
Signed-off-by: Guillaume Nault <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions