Re: [PATCH] cx18: Read buffer overflow

2009-07-29 Thread Andy Walls
On Wed, 2009-07-29 at 15:35 +0200, Roel Kluin wrote: > The guard mistakenly tests against sizeof(freqs) instead of ARRAY_SIZE(freqs). > > Signed-off-by: Roel Kluin > --- > Andy Walls wrote: > > > The cx18 driver suffers from the exact same defect in cx18-controls.c. > > Thanks, if not already a

[PATCH] cx18: Read buffer overflow

2009-07-29 Thread Roel Kluin
The guard mistakenly tests against sizeof(freqs) instead of ARRAY_SIZE(freqs). Signed-off-by: Roel Kluin --- Andy Walls wrote: > The cx18 driver suffers from the exact same defect in cx18-controls.c. Thanks, if not already applied, here is it. diff --git a/drivers/media/video/ivtv/ivtv-control