diff options
author | Jan Kara <[email protected]> | 2015-06-02 12:38:39 +0200 |
---|---|---|
committer | Martin Schwidefsky <[email protected]> | 2015-06-15 10:51:12 +0200 |
commit | 8cb81811e924ff0214ce4e8344e2feb1549cf0ce (patch) | |
tree | 4bb8a52ff2121d335f893ad2d2cf4bfa89e47ece /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 2e4aa2f2bdcf9b80bace0b0c460bd407d76f49d3 (diff) |
s390/keyboard: avoid off-by-one when using strnlen_user()
strnlen_user() returns the length of the string including terminating 0.
So avoid counting it again and unnecessarily reducing maximum string
size by 1.
Signed-off-by: Jan Kara <[email protected]>
Signed-off-by: Heiko Carstens <[email protected]>
Signed-off-by: Martin Schwidefsky <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions