commit | 6f2c2db7a46243bd86e3d7ff5f9ff982f26a9fe8 | [log] [tgz] |
---|---|---|
author | Chuck Lever <chuck.lever@oracle.com> | Sun Aug 09 15:09:40 2009 -0400 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Sun Aug 09 15:09:40 2009 -0400 |
tree | 7b5ce21079d2723a34f1dc982d98a3318c122afe | |
parent | 4116092b92f859e5e9a90c99d740933e651ee8c0 [diff] |
SUNRPC: Introduce new xdr_stream-based encoders to rpcb_clnt.c Replace the open-coded encode logic for rpcbind arguments with an xdr_stream-based implementation, similar to what NFSv4 uses, to better protect against buffer overflows. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>