commit | b7126ef78612a3d4a37aadf39125cff048cebb9b | [log] [tgz] |
---|---|---|
author | Tommi Rantala <tommi.t.rantala@nokia.com> | Wed Mar 22 15:06:22 2017 +0200 |
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | Mon Mar 27 15:36:27 2017 -0300 |
tree | 27c578f26aafda5fe9d96f2770217d34712552bb | |
parent | 0e6ba11511aef91ba8e2528ddc681d88922d7b0b [diff] |
perf utils: use sizeof(buf) - 1 in readlink() call Ensure that we have space for the null byte in buf. 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-5-tommi.t.rantala@nokia.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>