summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2020-09-05 17:03:26 +0300
committerTrond Myklebust <trond.myklebust@hammerspace.com>2020-09-05 17:39:41 +0300
commit8c6b6c793ed32b8f9770ebcdf1ba99af423c303b (patch)
treee9307298f27c8cc19208dd79641dbeb590fdc002 /fs
parent644c9f40cf71969f29add32f32349e71d4995c0b (diff)
downloadlinux-8c6b6c793ed32b8f9770ebcdf1ba99af423c303b.tar.xz
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 <yieli@redhat.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com> Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions