Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 417c3522 authored by Ben Hutchings's avatar Ben Hutchings
Browse files

net/compat: Fix minor information leak in siocdevprivate_ioctl()



We don't need to check that ifr_data itself is a valid user pointer,
but we should check &ifr_data is.  Thankfully the copy of ifr_name is
checked, so this can only leak a few bytes from immediately above the
user address limit.

Signed-off-by: default avatarBen Hutchings <bhutchings@solarflare.com>
parent e1bd1dc2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment