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.
>
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 cho
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 ?
Dave
There are a couple paths where we don't check how much data we copy back
to the user.
Signed-off-by: Dan Carpenter
diff --git a/drivers/staging/bcm/Bcmchar.c b/drivers/staging/bcm/Bcmchar.c
index fdebc3bba0b5..6f1997dc44c8 100644
--- a/drivers/staging/bcm/Bcmchar.c
+++ b/drivers/staging/bcm/Bcmc