aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2010-03-15 07:28:00 -0500
committerJason Wessel <[email protected]>2011-03-25 16:37:30 -0500
commitadb4b83c12f9d966ea3478aa14c60511467c9916 (patch)
treeb9dd2efee119cc6f053ffa6fb50a3d336e5e3dfb /tools/perf/util/trace-event-scripting.c
parent521cb40b0c44418a4fd36dc633f575813d59a43d (diff)
kgdboc,kgdbts: strlen() doesn't count the terminator
This is an off by one because strlen() doesn't count the null terminator. We strcpy() these strings into an array of size MAX_CONFIG_LEN. Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Jason Wessel <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions