On Mon, Feb 17, 2014 at 11:13:16PM +0300, Dan Carpenter wrote: > On Mon, Feb 17, 2014 at 02:59:19PM -0500, Dave Jones wrote: > > On Mon, Feb 17, 2014 at 10:56:06PM +0300, Dan Carpenter wrote: > > > There are a couple paths where we don't check how much data we copy back > > > to the user. > > > > I'm curious, is this something smatch is only picking up now that > > I chopped up that mega function into lots of little functions ? > > Yes. Smatch wasn't able to parse it before the breakup. Too huge. Excellent. That gives me incentive to do that sort of crap work more often. Dave _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel