aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorMiklos Szeredi <[email protected]>2016-09-16 14:12:11 +0200
committerMiklos Szeredi <[email protected]>2016-09-16 14:12:11 +0200
commit8b326c61de08f5ca4bc454a168f19e7e43c4cc2a (patch)
treeeb3d11705f81fa3627796dca0fdee18296790704 /tools/perf/scripts/python/bin/export-to-postgresql-report
parent9395452b4aab7bc2475ef8935b4a4fb99d778d70 (diff)
ovl: copy_up_xattr(): use strnlen
Be defensive about what underlying fs provides us in the returned xattr list buffer. strlen() may overrun the buffer, so use strnlen() and WARN if the contents are not properly null terminated. Signed-off-by: Miklos Szeredi <[email protected]> Cc: <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions