aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/include/class_to_string.h
diff options
context:
space:
mode:
authorChuck Lever <[email protected]>2009-11-13 15:52:55 +0000
committerTrond Myklebust <[email protected]>2009-11-13 23:17:04 +0000
commit1e360a60b24ad8f8685af66fa6de10ce46693a4b (patch)
treeb720e1ec1431b296918cba7e399cf41285ea7b5c /security/selinux/include/class_to_string.h
parentNFSv4: Fix a cache validation bug which causes getcwd() to return ENOENT (diff)
downloadkernel-1e360a60b24ad8f8685af66fa6de10ce46693a4b.tar.gz
kernel-1e360a60b24ad8f8685af66fa6de10ce46693a4b.zip
SUNRPC: Address buffer overrun in rpc_uaddr2sockaddr()
The size of buf[] must account for the string termination needed for the first strict_strtoul() call. Introduced in commit a02d6926. Fábio Olivé Leite points out that strict_strtoul() requires _either_ '\n\0' _or_ '\0' termination, so use the simpler '\0' here instead. See http://bugzilla.kernel.org/show_bug.cgi?id=14546 . Reported-by: [email protected] Signed-off-by: Chuck Lever <[email protected]> Signed-off-by: Fábio Olivé Leite <[email protected]> Signed-off-by: Trond Myklebust <[email protected]>
Diffstat (limited to 'security/selinux/include/class_to_string.h')
0 files changed, 0 insertions, 0 deletions