Re: Finding user/kernel pointer bugs [no html]

From: viro
Date: Thu Jun 10 2004 - 13:47:22 EST


On Thu, Jun 10, 2004 at 11:34:42AM -0700, Greg KH wrote:
> struct usb_mixerdev *ms = (struct usb_mixerdev *)file->private_data;
> int i, j, val;
> + int __user *int_user_arg = (int __user *)arg;

Egads... How about changing the name to something that would not be so
scary?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/