aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/selinux/genheaders/genheaders.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2009-08-09 15:09:43 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2009-08-09 15:09:43 -0400
commitc0c077df009f2f329875051ac5283df235288689 (patch)
tree50c0f9b6d78ebbfd711d5bf4c436aa116ed85a51 /scripts/selinux/genheaders/genheaders.c
parentSUNRPC: Introduce xdr_stream-based decoders for RPCB_UNSET (diff)
downloadwireguard-linux-c0c077df009f2f329875051ac5283df235288689.tar.xz
wireguard-linux-c0c077df009f2f329875051ac5283df235288689.zip
SUNRPC: Introduce new xdr_stream-based decoders to rpcb_clnt.c
Replace the open-coded decode logic for PMAP_GETPORT/RPCB_GETADDR with an xdr_stream-based implementation, similar to what NFSv4 uses, to protect against buffer overflows. The new implementation also checks that the incoming port number is reasonable. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'scripts/selinux/genheaders/genheaders.c')
0 files changed, 0 insertions, 0 deletions