diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2022-09-12 17:23:02 -0400 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2022-09-26 14:02:47 -0400 |
commit | c3d2a04f05c590303c125a176e6e43df4a436fdb (patch) | |
tree | 995ce809b300e61dba28a7c5ab72cbede54975b9 /.cocciconfig | |
parent | 98124f5bd6c76699d514fbe491dd95265369cc99 (diff) |
NFSD: Use xdr_inline_decode() to decode NFSv3 symlinks
Replace the check for buffer over/underflow with a helper that is
commonly used for this purpose. The helper also sets xdr->nwords
correctly after successfully linearizing the symlink argument into
the stream's scratch buffer.
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions