From 48b94c74e9817781a1e7a4fdd03fa471953047fb Mon Sep 17 00:00:00 2001 From: Rik van Riel Date: Wed, 20 Nov 2002 22:47:05 -0800 Subject: commit fce798016c4bd2be89b86b0d343ab54505409412 [PATCH] advansys.c buffer overflow The Stanford checker found an error in advansys.c, the driver is accessing field 6 in an array[6]. Since this is the only place where this field is accessed it should be safe to simply remove this line. --- linux/src/drivers/scsi/advansys.c | 1 - 1 file changed, 1 deletion(-) (limited to 'linux') diff --git a/linux/src/drivers/scsi/advansys.c b/linux/src/drivers/scsi/advansys.c index ef61fac..7aea67c 100644 --- a/linux/src/drivers/scsi/advansys.c +++ b/linux/src/drivers/scsi/advansys.c @@ -4715,7 +4715,6 @@ advansys_detect(Scsi_Host_Template *tpnt) ep->adapter_info[3] = asc_dvc_varp->cfg->adapter_info[3]; ep->adapter_info[4] = asc_dvc_varp->cfg->adapter_info[4]; ep->adapter_info[5] = asc_dvc_varp->cfg->adapter_info[5]; - ep->adapter_info[6] = asc_dvc_varp->cfg->adapter_info[6]; /* * Modify board configuration. -- cgit v1.2.3