Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pppoe: check sockaddr length in pppoe_connect()
[ Upstream commit a49e2f5 ] We must validate sockaddr_len, otherwise userspace can pass fewer data than we expect and we end up accessing invalid data. Fixes: 224cf5a ("ppp: Move the PPP drivers") Reported-by: [email protected] Signed-off-by: Guillaume Nault <[email protected]> Signed-off-by: David S. Miller <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information