* [patch] drivers/media/video/bt866.c: array overflows
@ 2006-08-21 21:59 Martin Samuelsson
0 siblings, 0 replies; only message in thread
From: Martin Samuelsson @ 2006-08-21 21:59 UTC (permalink / raw)
To: mchehab, Ronald S. Bultje; +Cc: v4l-dvb-maintainer, linux-kernel, Adrian Bunk
This extends reg in the bt866 struct from 128 to 256 bytes, which will prevent a number of array overflows later in the code.
Signed-off-by: Martin Samuelsson <sam@home.se>
---
bt866.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- /usr/src/linux-2.6.18-rc4/drivers/media/video/bt866.c 2006-08-21 22:59:16.000000000 +0200
+++ /usr/src/linux-2.6.18-rc4-avs6eyes/drivers/media/video/bt866.c 2006-08-21 21:51:14.000000000 +0200
@@ -65,7 +65,7 @@
struct bt866 {
struct i2c_client *i2c;
int addr;
- unsigned char reg[128];
+ unsigned char reg[256];
int norm;
int enable;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-08-21 22:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-21 21:59 [patch] drivers/media/video/bt866.c: array overflows Martin Samuelsson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®