NFS: Use unsigned intermediates for manipulating header lengths (NFSv3 XDR)
authorChuck Lever <chuck.lever@oracle.com>
Fri, 26 Oct 2007 17:31:57 +0000 (13:31 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 30 Jan 2008 07:05:44 +0000 (02:05 -0500)
commitc957c526ef86e472359dadb4204dab8a503b687d
tree1db0a284fdf0d0182432a66c7532ce7cf03aa7e2
parent6232dbbcffc617a5a47596b2ec347b24dc2dd2fd
NFS: Use unsigned intermediates for manipulating header lengths (NFSv3 XDR)

Clean up: prevent length underflow and mixed sign comparisons when
unmarshalling NFS version 3 read, readdir, and readlink replies.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs3xdr.c