Commit fce79801 authored by Rik van Riel's avatar Rik van Riel Committed by Linus Torvalds

[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.
parent cd22c8c9
......@@ -5097,7 +5097,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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment