Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Nov 2006 05:24:08 GMT
From:      Matt Jacob <mjacob@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 110004 for review
Message-ID:  <200611150524.kAF5O8h3078301@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=110004

Change 110004 by mjacob@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),



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611150524.kAF5O8h3078301>