commit | 0e6ba11511aef91ba8e2528ddc681d88922d7b0b | [log] [tgz] |
---|---|---|
author | Tommi Rantala <tommi.t.rantala@nokia.com> | Wed Mar 22 15:06:21 2017 +0200 |
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | Mon Mar 27 15:35:56 2017 -0300 |
tree | bfd066a73068f97059534cd3965a29a6041ea2ed | |
parent | 5a2342111c68e623e27ee7ea3d0492d8dad6bda0 [diff] |
perf tests: Do not assume that readlink() returns a null terminated string Ensure that the string in buf is null terminated. Signed-off-by: Tommi Rantala <tommi.t.rantala@nokia.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/20170322130624.21881-4-tommi.t.rantala@nokia.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>