diff options
author | 2014-04-05 08:45:57 -0400 | |
---|---|---|
committer | 2014-04-05 09:25:42 -0400 | |
commit | 9581a4ae75517099bc87e1c43d1a8f35b55741b9 (patch) | |
tree | be0688b7e4af19715e11f82f83f86664a61e9116 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | NFSv4: Fix a use-after-free problem in open() (diff) | |
download | linux-dev-9581a4ae75517099bc87e1c43d1a8f35b55741b9.tar.xz linux-dev-9581a4ae75517099bc87e1c43d1a8f35b55741b9.zip |
nfs: pass string length to pr_notice message about readdir loops
There is no guarantee that the strings in the nfs_cache_array will be
NULL-terminated. In the event that we end up hitting a readdir loop, we
need to ensure that we pass the warning message the length of the
string.
Reported-by: Lachlan McIlroy <lmcilroy@redhat.com>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions