diff options
author | 2017-12-12 17:39:10 +0800 | |
---|---|---|
committer | 2018-01-17 09:16:16 -0500 | |
commit | 4b259fc4a8a12dcd0ffd670877a7a1ca2ab0f3e3 (patch) | |
tree | 948cf6d3629f6ce40f142532faaca9121c2d65f3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dm: backfill missing calls to mutex_destroy() (diff) | |
download | wireguard-linux-4b259fc4a8a12dcd0ffd670877a7a1ca2ab0f3e3.tar.xz wireguard-linux-4b259fc4a8a12dcd0ffd670877a7a1ca2ab0f3e3.zip |
dm log writes: fix max length used for kstrndup
If source string is longer than max, kstrndup will allocate max+1
space. So make sure the result will not exceed max.
Signed-off-by: Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions