PERFORCE change 110004 for review
Matt Jacob
mjacob at FreeBSD.org
Wed Nov 15 05:24:09 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=110004
Change 110004 by mjacob at newisp on 2006/11/15 05:23:27
FCP Response field isn't valid if response length < 4.
Affected files ...
.. //depot/projects/newisp/dev/isp/isp.c#34 edit
Differences ...
==== //depot/projects/newisp/dev/isp/isp.c#34 (text+ko) ====
@@ -4861,7 +4861,7 @@
switch (etype) {
case RQSTYPE_RESPONSE:
XS_SET_STATE_STAT(isp, xs, sp);
- if (resp) {
+ if (resp && rlen >= 4) {
isp_prt(isp, ISP_LOGWARN,
"%d.%d FCP RESPONSE: 0x%x",
XS_TGT(xs), XS_LUN(xs),
More information about the p4-projects
mailing list