PATCH: fix buffer overrun in aha1542

Alan Cox (alan@lxorguk.ukuu.org.uk)
Fri, 21 Mar 2003 19:45:20 GMT


diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.5.65/drivers/scsi/aha1542.c linux-2.5.65-ac2/drivers/scsi/aha1542.c
--- linux-2.5.65/drivers/scsi/aha1542.c 2003-03-06 17:04:28.000000000 +0000
+++ linux-2.5.65-ac2/drivers/scsi/aha1542.c 2003-03-06 22:15:12.000000000 +0000
@@ -1020,7 +1020,7 @@

static int __init do_setup(char *str)
{
- int ints[4];
+ int ints[5];

int count=setup_idx;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/