• Alexander Viro's avatar
    [PATCH] sparse: VIDIOCSWIN compat_ioctl fixes · 3851523a
    Alexander Viro authored
    In handling of VIDIOCSWIN for 32bit on 64bit platforms:
    	* switched to compat_alloc_user_space()
    	* fixed memory corruption in copying arguments from userland
    	* fixed arithmetic overflows
    	* added missing checks for get_user() results
    	  and corresponding returns with -EFAULT.
    3851523a
compat_ioctl.c 94.8 KB