+ drivers-media-video-bt866c-array-overflows.patch added to -mm tree

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

 



The patch titled

     drivers/media/video/bt866.c: array overflows

has been added to the -mm tree.  Its filename is

     drivers-media-video-bt866c-array-overflows.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: drivers/media/video/bt866.c: array overflows
From: Martin Samuelsson <sam@xxxxxxx>

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@xxxxxxx>
Cc: Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 drivers/media/video/bt866.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/media/video/bt866.c~drivers-media-video-bt866c-array-overflows drivers/media/video/bt866.c
--- a/drivers/media/video/bt866.c~drivers-media-video-bt866c-array-overflows
+++ a/drivers/media/video/bt866.c
@@ -65,7 +65,7 @@ MODULE_LICENSE("GPL");
 struct bt866 {
 	struct i2c_client *i2c;
 	int addr;
-	unsigned char reg[128];
+	unsigned char reg[256];
 
 	int norm;
 	int enable;
_

Patches currently in -mm which might be from sam@xxxxxxx are

drivers-media-video-bt866c-array-overflows.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux