From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 13491A09DE; Fri, 13 Nov 2020 09:41:25 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E3B8C5AB3; Fri, 13 Nov 2020 09:41:23 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by dpdk.org (Postfix) with ESMTP id D292C56A3 for ; Fri, 13 Nov 2020 09:41:21 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1605256880; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=CRuPPkg/wgLNswY/mg88LCcXZsSW2tijz6cdnD88sis=; b=O1vMs3hTwZs39UvuTuMha4NuJ8iTSfPtdUIXNcGNFK8uw0RJGJwz7GEzCb75SZKrELZ4OQ 5OiCJza7YkVxot4nUoMJpIzBABw7sP+ldNg9YmVCMyhie7yRjbewtlQ1E9Sxyt92pwYwu3 wyk/G9QoyAtiX/6q5zOBbwt6DeV/C1Q= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-433-XMyh4M0xMZeLFMFeyXL5Qw-1; Fri, 13 Nov 2020 03:41:16 -0500 X-MC-Unique: XMyh4M0xMZeLFMFeyXL5Qw-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id F29F68030A3; Fri, 13 Nov 2020 08:41:14 +0000 (UTC) Received: from [10.36.110.32] (unknown [10.36.110.32]) by smtp.corp.redhat.com (Postfix) with ESMTPS id B97D655793; Fri, 13 Nov 2020 08:41:13 +0000 (UTC) To: Cheng Jiang , chenbo.xia@intel.com Cc: dev@dpdk.org, patrick.fu@intel.com, YvonneX.Yang@intel.com References: <20201106032401.9149-1-Cheng1.jiang@intel.com> From: Maxime Coquelin Message-ID: <68e0d17b-d65d-dae3-70f6-f4cac5afbe97@redhat.com> Date: Fri, 13 Nov 2020 09:41:12 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.3.1 MIME-Version: 1.0 In-Reply-To: <20201106032401.9149-1-Cheng1.jiang@intel.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=maxime.coquelin@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v1] examples/vhost: fix missing args length check 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 11/6/20 4:24 AM, Cheng Jiang wrote: > Add args length check before copying to fix the coverity issue. > > Fixes: 3a04ecb21420 ("examples/vhost: add async vhost args parsing") > Coverity issue: 363741 > > Signed-off-by: Cheng Jiang > --- > examples/vhost/main.c | 6 ++++++ > 1 file changed, 6 insertions(+) Applied to dpdk-next-virtio/main. Thanks, Maxime