- overrun-in-drivers-input-joystick-db9c.patch removed from -mm tree

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

 



The patch titled

     Overrun in drivers/input/joystick/db9.c

has been removed from the -mm tree.  Its filename is

     overrun-in-drivers-input-joystick-db9c.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
Subject: Overrun in drivers/input/joystick/db9.c
From: Eric Sesterhenn <snakebyte@xxxxxx>

coverity spotted this overrun (#id 483), we assign db9_mode =
&db9_modes[mode]; some lines before, so if we use mode as index again we
might get past the array once mode is greater than DB9_MAX_PAD/2, besides
this this patch changes the code to what the author possibly intended it to
do.

Signed-off-by: Eric Sesterhenn <snakebyte@xxxxxx>
Cc: Dmitry Torokhov <dtor_core@xxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 drivers/input/joystick/db9.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/input/joystick/db9.c~overrun-in-drivers-input-joystick-db9c drivers/input/joystick/db9.c
--- a/drivers/input/joystick/db9.c~overrun-in-drivers-input-joystick-db9c
+++ a/drivers/input/joystick/db9.c
@@ -584,7 +584,7 @@ static struct db9 __init *db9_probe(int 
 		goto err_out;
 	}
 
-	if (db9_mode[mode].bidirectional && !(pp->modes & PARPORT_MODE_TRISTATE)) {
+	if (db9_mode->bidirectional && !(pp->modes & PARPORT_MODE_TRISTATE)) {
 		printk(KERN_ERR "db9.c: specified parport is not bidirectional\n");
 		err = -EINVAL;
 		goto err_put_pp;
_

Patches currently in -mm which might be from snakebyte@xxxxxx are

origin.patch
git-gfs2.patch
git-wireless.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