diff options
author | Changbin Du <[email protected]> | 2018-01-16 17:02:30 +0800 |
---|---|---|
committer | Steven Rostedt (VMware) <[email protected]> | 2018-01-23 15:57:28 -0500 |
commit | f4d0706cde27f29ff89e6bf94ded4113f8fe6e80 (patch) | |
tree | 5cd8ddafa8948c8f64fb52c88d61f85d2d773cb7 /lib/assoc_array.c | |
parent | 76638d96502744b0d593f2386b75ae5a017c13bb (diff) |
tracing: Make sure the parsed string always terminates with '\0'
Always mark the parsed string with a terminated nul '\0' character. This removes
the need for the users to have to append the '\0' before using the parsed string.
Link: http://lkml.kernel.org/r/[email protected]
Acked-by: Namhyung Kim <[email protected]>
Signed-off-by: Changbin Du <[email protected]>
Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'lib/assoc_array.c')
0 files changed, 0 insertions, 0 deletions