From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f45.google.com (mail-wm0-f45.google.com [74.125.82.45]) by dpdk.org (Postfix) with ESMTP id 5A4BC5A83 for ; Mon, 16 May 2016 14:48:58 +0200 (CEST) Received: by mail-wm0-f45.google.com with SMTP id n129so99865835wmn.1 for ; Mon, 16 May 2016 05:48:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=CQkGVk1822iJqVWLnNQWOmOOq24GqgbpJvmBU/qRC2k=; b=fTv0Ry7mEtcppONIX1sFH4F0X8i6Y2FxQVsYBwmqTwqwy8gtGQMVR2hGhANg2fgGQ4 CG+H5W6v81mXttcOSfHH2BpNKdOKGU4jA2bfbhcK4/Em3ebqmnUzExNdBeOML9UKWD7z k/c8errek0WFab+bo8C2bgTeWLyQgPiiSyhD4nkERGwEP+ZSYfLQiyuiteK1JOPqNBvh 4SyG20Pd/4ivOBg6jXMlWN4eAB3+DsGZjHvogEUepIJPZ5BDwSkS5Ff3a5QlFSIMpaj0 BFH9G3e5JAHztvhliFF/9hKP6FCywOBPVS8T0X+0tLOvfAAHdbv7JSNRA0hFa3TCKK0z hBwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=CQkGVk1822iJqVWLnNQWOmOOq24GqgbpJvmBU/qRC2k=; b=X8Si8iKZizltoqumIAYdpAIxJfDrErDt0uM3P5cgonXwUJNq21q5/464FAK92Y94lq D1LJJAB83y1ml5jSCKszdOH37Z4fJRNJOnaGoLKpt/Khsl7zi59nAI35nG82CB2Jv4Z5 PUXcVhU4nR18E6Kl2bZHA56fDq70knkbAbq1o2JIYYaL77fCMbXsTmi8/37KBY6HnVi+ d7lIAcEZoI80BlsnrTCBldWuBJEq+aT1igcalJw2g8UI3cxQNDL9dXFE3Hj9LKtUClAk lzAocWUHjc6p+AneVFzYwWGCyuGZ7s9H4I0KJVnD43GIIGhPYoBWFI6rj+vHlF8exi2L seaA== X-Gm-Message-State: AOPr4FVMqzV4lqctRlsKgYJe+MG5/QOrZ9wb+gYxQCvn9M8J9dt/bJxU++S8OQRz3eubPXUj X-Received: by 10.194.243.231 with SMTP id xb7mr29478322wjc.33.1463402938185; Mon, 16 May 2016 05:48:58 -0700 (PDT) Received: from xps13.localnet (139.20.90.92.rev.sfr.net. [92.90.20.139]) by smtp.gmail.com with ESMTPSA id u12sm18240823wmu.12.2016.05.16.05.48.57 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 16 May 2016 05:48:57 -0700 (PDT) From: Thomas Monjalon To: Daniel Mrzyglod Cc: dev@dpdk.org Date: Mon, 16 May 2016 14:48:55 +0200 Message-ID: <2253927.FQD33mOOFG@xps13> User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1462895362-29323-1-git-send-email-danielx.t.mrzyglod@intel.com> References: <1460473986-3816-1-git-send-email-danielx.t.mrzyglod@intel.com> <1462895362-29323-1-git-send-email-danielx.t.mrzyglod@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2] examples/vm_power_manager: buffer not null terminated X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 May 2016 12:48:58 -0000 2016-05-10 17:49, Daniel Mrzyglod: > CID30691: > If the buffer is treated as a null terminated string in later operations, > a buffer overflow or over-read may occur. > > In add_vm: The string buffer may not have a null terminator if the source > string's length is equal to the buffer size > > Fixes: e8ae9b662506 ("examples/vm_power: channel manager and monitor in host") > > Signed-off-by: Daniel Mrzyglod Applied, thanks