• Alexander Viro's avatar
    [PATCH] sparse: ->ifr_data fixes · 53f97fb4
    Alexander Viro authored
    	b44.c: ->ioctl() is broken, since it uses &ifr->ifr_data instead of
    ifr->ifr_data itself.  Surprise, surprise, copy_from_user() on that address
    doesn't do any good...
    
    	baycom_epp.c: does get_user() of the first word of structure, then
    immediately does copy_from_user() on the entire thing and completely ignores
    the value read by get_user() (it uses the same value in copied structure
    instead).  Bogus get_user() call removed.
    53f97fb4
b44.c 44.8 KB