Re: [patch 1/2] staging/bcm: two information leaks in ioctl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux