aboutsummaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorIngo Molnar <[email protected]>2009-09-03 16:22:45 +0200
committerIngo Molnar <[email protected]>2009-09-03 16:22:45 +0200
commit6f4596d9312ba5fbf5f3231ef484823c4e684d2e (patch)
tree877465917e5d8afc46f4cc0907c2befd1dd104cc /lib/string_helpers.c
parent00fc97863c21c41e257a941e83410c56341e2a5d (diff)
perf trace: Fix read_string()
We did not account for the enclosing \0. Depending on what malloc() gave us this resulted in corrupted version string printouts. Cc: Peter Zijlstra <[email protected]> Cc: Mike Galbraith <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]> Cc: Frederic Weisbecker <[email protected]> LKML-Reference: <new-submission> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions