summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJeffrey Mitchell <jeffrey.mitchell@starlab.io>2020-08-05 12:23:19 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-08-21 13:15:17 +0200
commit266bc13be47ace4bc434dc1617bb5550aeceea4f (patch)
tree9f9ce2b93fdbbc739e1365db0aea8195f7827f7a /tools/perf/scripts/python/export-to-postgresql.py
parent0e2446523c770a69803bd28820c24f866cf58409 (diff)
nfs: Fix getxattr kernel panic and memory overflow
[ Upstream commit b4487b93545214a9db8cbf32e86411677b0cca21 ] Move the buffer size check to decode_attr_security_label() before memcpy() Only call memcpy() if the buffer is large enough Fixes: aa9c2669626c ("NFS: Client implementation of Labeled-NFS") Signed-off-by: Jeffrey Mitchell <jeffrey.mitchell@starlab.io> [Trond: clean up duplicate test of label->len != 0] Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions