Re: [patch] omap24xxcam: potential buffer overflow

2010-03-10 Thread Sakari Ailus
Dan Carpenter wrote: > The previous loop goes until last == VIDEO_MAX_FRAME, so this could > potentially go one past the end of the loop. Hi Dan, Thanks for the patch! > Signed-off-by: Dan Carpenter > > diff --git a/drivers/media/video/omap24xxcam.c > b/drivers/media/video/omap24xxcam.c > in

[patch] omap24xxcam: potential buffer overflow

2010-03-10 Thread Dan Carpenter
The previous loop goes until last == VIDEO_MAX_FRAME, so this could potentially go one past the end of the loop. Signed-off-by: Dan Carpenter diff --git a/drivers/media/video/omap24xxcam.c b/drivers/media/video/omap24xxcam.c index 142c327..bedbee9 100644 --- a/drivers/media/video/omap24xxcam.c