Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752124AbdC0Shb (ORCPT ); Mon, 27 Mar 2017 14:37:31 -0400 Received: from mail.kernel.org ([198.145.29.136]:51348 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751327AbdC0ShP (ORCPT ); Mon, 27 Mar 2017 14:37:15 -0400 Date: Mon, 27 Mar 2017 15:28:46 -0300 From: Arnaldo Carvalho de Melo To: Tommi Rantala Cc: Peter Zijlstra , Ingo Molnar , Alexander Shishkin , linux-kernel@vger.kernel.org Subject: Re: [PATCH 5/6] perf utils: null terminate buf in read_ftrace_printk() Message-ID: <20170327182846.GD27431@kernel.org> References: <20170322130624.21881-1-tommi.t.rantala@nokia.com> <20170322130624.21881-6-tommi.t.rantala@nokia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170322130624.21881-6-tommi.t.rantala@nokia.com> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.8.0 (2017-02-23) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 204 Lines: 8 Em Wed, Mar 22, 2017 at 03:06:23PM +0200, Tommi Rantala escreveu: > Ensure that the string that we read from the data file is null terminated. > > Valgrind was complaining: Thanks, applied. - Arnaldo