From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id E8CDC7CBD for ; Thu, 5 Oct 2017 14:36:23 +0200 (CEST) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Oct 2017 05:36:04 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,481,1500966000"; d="scan'208";a="159733149" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga006.fm.intel.com with ESMTP; 05 Oct 2017 05:36:04 -0700 Received: from fmsmsx113.amr.corp.intel.com (10.18.116.7) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 5 Oct 2017 05:36:04 -0700 Received: from hasmsx107.ger.corp.intel.com (10.184.198.27) by FMSMSX113.amr.corp.intel.com (10.18.116.7) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 5 Oct 2017 05:36:03 -0700 Received: from hasmsx106.ger.corp.intel.com ([169.254.10.144]) by hasmsx107.ger.corp.intel.com ([169.254.2.108]) with mapi id 14.03.0319.002; Thu, 5 Oct 2017 15:36:01 +0300 From: "Piasecki, JacekX" To: Maxime Coquelin , "Jastrzebski, MichalX K" , "yliu@fridaylinux.org" CC: "dev@dpdk.org" , "Jain, Deepak K" , "Liu, Changpeng" Thread-Topic: [dpdk-dev] [PATCH] examples/vhost_scsi: fix buffer not terminated Thread-Index: AQHTM6PIVFBSftJ54kiqV2N+wePWdaLQcV4AgAAVWwCABLueIA== Date: Thu, 5 Oct 2017 12:35:59 +0000 Message-ID: <8B71977F507A4143BF605D4D8BA8F23C0114CD14@HASMSX106.ger.corp.intel.com> References: <20170922130734.7256-1-michalx.k.jastrzebski@intel.com> <60ABE07DBB3A454EB7FAD707B4BB158213C40F16@IRSMSX109.ger.corp.intel.com> <0a469856-29c8-a79e-bb6a-ad21dfbccaf4@redhat.com> In-Reply-To: <0a469856-29c8-a79e-bb6a-ad21dfbccaf4@redhat.com> Accept-Language: pl-PL, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [10.103.102.74] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] examples/vhost_scsi: fix buffer not terminated X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Oct 2017 12:36:24 -0000 LS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCkZyb206IE1heGltZSBDb3F1ZWxpbiBbbWFpbHRv Om1heGltZS5jb3F1ZWxpbkByZWRoYXQuY29tXSANClNlbnQ6IE1vbmRheSwgMiBPY3RvYmVyLCAy MDE3IDE3OjA3DQpUbzogSmFzdHJ6ZWJza2ksIE1pY2hhbFggSyA8bWljaGFseC5rLmphc3RyemVi c2tpQGludGVsLmNvbT47IHlsaXVAZnJpZGF5bGludXgub3JnDQpDYzogZGV2QGRwZGsub3JnOyBK YWluLCBEZWVwYWsgSyA8ZGVlcGFrLmsuamFpbkBpbnRlbC5jb20+OyBQaWFzZWNraSwgSmFjZWtY IDxqYWNla3gucGlhc2Vja2lAaW50ZWwuY29tPjsgTGl1LCBDaGFuZ3BlbmcgPGNoYW5ncGVuZy5s aXVAaW50ZWwuY29tPjsgc3RhYmxlQGRwZGsub3JnDQpTdWJqZWN0OiBSZTogW2RwZGstZGV2XSBb UEFUQ0hdIGV4YW1wbGVzL3Zob3N0X3Njc2k6IGZpeCBidWZmZXIgbm90IHRlcm1pbmF0ZWQNCg0K DQoNCk9uIDEwLzAyLzIwMTcgMDM6NTAgUE0sIEphc3RyemV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