Date: Wed, 10 Apr 2013 16:42:06 -0700 From: Sean Bruno <seanwbruno@gmail.com> To: sbruno@freebsd.org Cc: "FreeBSD-scsi@freebsd.org" <FreeBSD-scsi@freebsd.org> Subject: Re: ciss(4) malformed vendor/product data Message-ID: <1365637326.2358.8.camel@localhost> In-Reply-To: <1365536578.2158.4.camel@localhost> References: <1365452066.2312.30.camel@localhost> <1365536578.2158.4.camel@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-uCNB1QkIwINzgFuejtjp Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable On Tue, 2013-04-09 at 12:42 -0700, Sean Bruno wrote: > Index: ciss.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- ciss.c (revision 249314) > +++ ciss.c (working copy) > @@ -3346,9 +3346,12 @@ > =20 > cl =3D &sc->ciss_logical[bus][target]; > =20 > - padstr(inq->vendor, "COMPAQ", 8); > - padstr(inq->product, > ciss_name_ldrive_org(cl->cl_ldrive->fault_tolerance), 8); > - padstr(inq->revision, > ciss_name_ldrive_status(cl->cl_lstatus->status), > 16); > + padstr(inq->vendor, "COMPAQ", > + SID_VENDOR_SIZE); > + padstr(inq->product, > ciss_name_ldrive_org(cl->cl_ldrive->fault_tolerance), > + SID_PRODUCT_SIZE); > + padstr(inq->revision, > ciss_name_ldrive_status(cl->cl_lstatus->status), > + SID_REVISION_SIZE); > } > } >=20 >=20 This has been comitted at svn R249349 Sean --=-uCNB1QkIwINzgFuejtjp Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (FreeBSD) iQEcBAABAgAGBQJRZfjOAAoJEBkJRdwI6BaHcMEH/3Xmd6gXj3R5JLetUj/Kltxm 6m5aBQlTj/Y5Q/FYzjF8MXa+NxDeyvvg1MAL3fLWnsD7kCCOnPaeUT0/9Ui+y/aB HOeVug3NSRPzkruamV/083zVHLGaoWXhan+T283WFouflKkhR9NXOGH15vVtvjMt 845KK4RvByF5t3QyWBg+c+z8fFcxYh5x9jxqabHWti4Ub+fYmfaruifxc6e/YLi+ ywZc7OmxHJWOZkIh0t+CDtl0bUCAK8JsLbTdLlPH/fVWBW/iXF322bG9N3vBM1nm fHC5IEacKOBIMuQdTnmtb1NbDVcKlHgf7S4vbCRlfTkqYgfzMU58AcEbBDp6Lpg= =iTsu -----END PGP SIGNATURE----- --=-uCNB1QkIwINzgFuejtjp--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1365637326.2358.8.camel>