From owner-freebsd-scsi@FreeBSD.ORG Wed Apr 10 23:42:16 2013 Return-Path: Delivered-To: FreeBSD-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 935A8F92; Wed, 10 Apr 2013 23:42:16 +0000 (UTC) (envelope-from seanwbruno@gmail.com) Received: from mail-pa0-f49.google.com (mail-pa0-f49.google.com [209.85.220.49]) by mx1.freebsd.org (Postfix) with ESMTP id 690E91CE; Wed, 10 Apr 2013 23:42:16 +0000 (UTC) Received: by mail-pa0-f49.google.com with SMTP id kp14so575746pab.36 for ; Wed, 10 Apr 2013 16:42:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:subject:from:reply-to:to:cc:in-reply-to:references :content-type:date:message-id:mime-version:x-mailer; bh=vDoQMMUGaJIzfTDboTlaoSNJmmjbkR9VqJVFQTtBOvs=; b=RIttm85ypmksTx3UIKzDimvEPcHCgwBc67nmHUw0QaSuISS7Ie5x92AAPGlhk8FDwf ij3JyG8udg+iZ/x7D6v9Dpt5KOj4tfjbVqskSY+SGeB3GU6eHMqpvHTJaGTta+BE5tJh RrqzoxbY0guOVE0d5LZ4nr+TJ5UZlHoxP2kCcgN+7fixdor557Kb5iWUiB1JOzrBAAlX DcNxA5cJzbNEUovr8Sgxb/9dOavqeJofosOzOdG1cQnQrS9htUDn3us3VWdnMNyz51SC rl0FEYR6cV2OLUp4mA7RdRB0b3BKfL7Wa1K4LJ/0e1atNZTyPrw7Z1sl3mvGoHjuOOYx md6g== X-Received: by 10.66.9.7 with SMTP id v7mr6300881paa.216.1365637330032; Wed, 10 Apr 2013 16:42:10 -0700 (PDT) Received: from [10.73.160.242] (nat-dip7.cfw-a-gci.corp.yahoo.com. [209.131.62.116]) by mx.google.com with ESMTPS id j13sm76391pat.17.2013.04.10.16.42.07 (version=SSLv3 cipher=RC4-SHA bits=128/128); Wed, 10 Apr 2013 16:42:08 -0700 (PDT) Subject: Re: ciss(4) malformed vendor/product data From: Sean Bruno To: sbruno@freebsd.org In-Reply-To: <1365536578.2158.4.camel@localhost> References: <1365452066.2312.30.camel@localhost> <1365536578.2158.4.camel@localhost> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-uCNB1QkIwINzgFuejtjp" Date: Wed, 10 Apr 2013 16:42:06 -0700 Message-ID: <1365637326.2358.8.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Cc: "FreeBSD-scsi@freebsd.org" X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: sbruno@freebsd.org List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Apr 2013 23:42:16 -0000 --=-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--