SUNRPC: Introduce xdr_stream-based decoders for RPCB_UNSET
authorChuck Lever <chuck.lever@oracle.com>
Sun, 9 Aug 2009 19:09:42 +0000 (15:09 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sun, 9 Aug 2009 19:09:42 +0000 (15:09 -0400)
Replace the open-coded decode logic for rpcbind UNSET results with an
xdr_stream-based implementation, similar to what NFSv4 uses, to
protect against buffer overflows.

The new function is unused for the moment.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>

No differences found