Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1610062

Re: [PATCH 5/6] perf utils: null terminate buf in read_ftrace_printk()

From Arnaldo Carvalho de Melo <acme@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH 5/6] perf utils: null terminate buf in read_ftrace_printk()
Date 2017-03-27 20:40 +0200
Message-ID <tpHIB-3SI-19@gated-at.bofh.it> (permalink)
References <tpHIB-3SI-17@gated-at.bofh.it> <tpHIB-3SI-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH 5/6] perf utils: null terminate buf in  read_ftrace_printk() Arnaldo Carvalho de Melo <acme@kernel.org> - 2017-03-27 20:40 +0200

csiph-web