diff options
author | J. Bruce Fields <[email protected]> | 2020-09-05 10:03:26 -0400 |
---|---|---|
committer | Trond Myklebust <[email protected]> | 2020-09-05 10:39:41 -0400 |
commit | 8c6b6c793ed32b8f9770ebcdf1ba99af423c303b (patch) | |
tree | e9307298f27c8cc19208dd79641dbeb590fdc002 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 644c9f40cf71969f29add32f32349e71d4995c0b (diff) |
SUNRPC: stop printk reading past end of string
Since p points at raw xdr data, there's no guarantee that it's NULL
terminated, so we should give a length. And probably escape any special
characters too.
Reported-by: Zhi Li <[email protected]>
Signed-off-by: J. Bruce Fields <[email protected]>
Signed-off-by: Trond Myklebust <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions