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

Skip to content
Commit 83626b01 authored by Linus Torvalds's avatar Linus Torvalds
Browse files

Revert "[PATCH] usb: drivers/usb/core/devio.c dereferences a userspace pointer"



This reverts commit 786dc1d3.

As Al so eloquently points out, the patch is crap. The old code was fine,
the new code was bogus.

It never dereferenced a user pointer, the "->" operator was to an array
member, which gives the _address_ of the member (in user space), not an
actual dereference at all.

Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent abb1cf3c
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