Fedor Tokarev
d5f224c582
net: sunrpc: Fix off-by-one issues in 'rpc_ntop6'
...
[ Upstream commit 118917d696dc59fd3e1741012c2f9db2294bed6f ]
Fix off-by-one issues in 'rpc_ntop6':
- 'snprintf' returns the number of characters which would have been
written if enough space had been available, excluding the terminating
null byte. Thus, a return value of 'sizeof(scopebuf)' means that the
last character was dropped.
- 'strcat' adds a terminating null byte to the string, thus if len ==
buflen, the null byte is written past the end of the buffer.
Signed-off-by: Fedor Tokarev <ftokarev@gmail.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-06-30 15:38:27 -04:00
..
auth_gss
sunrpc: clean up properly in gss_mech_unregister()
2020-06-20 10:24:21 +02:00
xprtrdma
xprtrdma: Fix backchannel allocation of extra rpcrdma_reps
2020-05-10 10:28:03 +02:00
addr.c
net: sunrpc: Fix off-by-one issues in 'rpc_ntop6'
2020-06-30 15:38:27 -04:00
auth.c
sunrpc: replace generic auth_cred hash with auth-specific function
2016-09-30 15:47:47 -04:00
auth_generic.c
SUNRPC: Fix a bogus get/put in generic_key_to_expire()
2018-12-01 09:44:21 +01:00
auth_null.c
sunrpc: move NO_CRKEY_TIMEOUT to the auth->au_flags
2016-07-19 16:23:24 -04:00
auth_unix.c
NFS client updates for Linux 4.9
2016-10-13 21:28:20 -07:00
backchannel_rqst.c
SUNRPC: Refactor rpc_xdr_buf_init()
2016-09-19 13:08:37 -04:00
cache.c
sunrpc: fix crash when cache_head become valid before update
2019-12-21 10:42:19 +01:00
clnt.c
net :sunrpc :clnt :Fix xps refcount imbalance on the error path
2019-07-21 09:05:57 +02:00
debugfs.c
SUNRPC: Address kbuild warning in net/sunrpc/debugfs.c
2015-06-11 14:01:06 -04:00
Kconfig
rpcrdma: Merge svcrdma and xprtrdma modules into one
2015-06-04 16:56:02 -04:00
Makefile
SUNRPC: Add a structure to track multiple transports
2016-02-05 18:48:54 -05:00
netns.h
rpc_pipe.c
rpc_pipefs: fix double-dput()
2018-04-24 09:34:17 +02:00
rpcb_clnt.c
sunrpc: handle ENOMEM in rpcb_getport_async
2019-01-23 08:10:55 +01:00
sched.c
SUNRPC: Fix priority queue fairness
2019-11-25 09:53:19 +01:00
socklib.c
sunrpc: do not pull udp headers on receive
2016-04-11 15:31:33 -04:00
stats.c
sunrpc: add rpc_count_iostats_idx
2015-02-03 11:06:38 -08:00
sunrpc.h
sunrpc_syms.c
SUNRPC: cleanup ida information when removing sunrpc module
2017-02-01 08:33:09 +01:00
svc.c
sunrpc: use-after-free in svc_process_common()
2019-01-16 22:12:33 +01:00
svc_xprt.c
sunrpc: use-after-free in svc_process_common()
2019-01-16 22:12:33 +01:00
svcauth.c
svcrpc: move some initialization to common code
2015-11-24 10:39:16 -07:00
svcauth_unix.c
kernel: make groups_sort calling a responsibility group_info allocators
2018-01-10 09:29:52 +01:00
svcsock.c
sunrpc: use-after-free in svc_process_common()
2019-01-16 22:12:33 +01:00
sysctl.c
Sunrpc: Supports hexadecimal number for sysctl files of sunrpc debug
2015-11-03 15:56:49 -05:00
timer.c
xdr.c
SUNRPC: drop pointless static qualifier in xdr_get_next_encode_buffer()
2018-11-27 16:09:40 +01:00
xprt.c
SUNRPC: Fix a potential race in xprt_connect()
2018-12-21 14:11:36 +01:00
xprtmultipath.c
SUNRPC search xprt switch for sockaddr
2016-09-19 13:08:36 -04:00
xprtsock.c
sunrpc: safely reallow resvport min/max inversion
2019-11-28 18:28:31 +01:00