https://github.com/torvalds/linux
Revision 8c6b6c793ed32b8f9770ebcdf1ba99af423c303b authored by J. Bruce Fields on 05 September 2020, 14:03:26 UTC, committed by Trond Myklebust on 05 September 2020, 14:39:41 UTC
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>
1 parent 644c9f4
History
Tip revision: 8c6b6c793ed32b8f9770ebcdf1ba99af423c303b authored by J. Bruce Fields on 05 September 2020, 14:03:26 UTC
SUNRPC: stop printk reading past end of string
Tip revision: 8c6b6c7
File Mode Size
Documentation
LICENSES
arch
block
certs
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.clang-format -rw-r--r-- 15.8 KB
.cocciconfig -rw-r--r-- 59 bytes
.get_maintainer.ignore -rw-r--r-- 71 bytes
.gitattributes -rw-r--r-- 62 bytes
.gitignore -rw-r--r-- 1.8 KB
.mailmap -rw-r--r-- 16.9 KB
COPYING -rw-r--r-- 496 bytes
CREDITS -rw-r--r-- 97.4 KB
Kbuild -rw-r--r-- 1.3 KB
Kconfig -rw-r--r-- 555 bytes
MAINTAINERS -rw-r--r-- 555.8 KB
Makefile -rw-r--r-- 61.8 KB
README -rw-r--r-- 727 bytes

README

back to top