summaryrefslogtreecommitdiff
path: root/linux/src/drivers
diff options
context:
space:
mode:
authorRik van Riel <riel@conectiva.com.br>2002-11-20 22:47:05 -0800
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2015-09-07 01:32:09 +0200
commit48b94c74e9817781a1e7a4fdd03fa471953047fb (patch)
treee7c397c27de5bf970c30c39351537ed42427e74f /linux/src/drivers
parent9d0f0b3391da1375363f0d545cab508247a962ae (diff)
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.
Diffstat (limited to 'linux/src/drivers')
-rw-r--r--linux/src/drivers/scsi/advansys.c1
1 files changed, 0 insertions, 1 deletions
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.