commit | 67f97d83bfcca9d9f8fbeeb14e7c644a82b24e12 | [log] [tgz] |
---|---|---|
author | Chuck Lever <chuck.lever@oracle.com> | Wed Sep 26 14:38:10 2007 -0400 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Tue Oct 09 17:20:30 2007 -0400 |
tree | a33db52992e4f916618d629eef94dd811e7d42b1 | |
parent | afde94f398b62c8596a8d0cbfc25798f0b52a371 [diff] |
SUNRPC: Use correct type in buffer length calculations Use correct type signage in gss_krb5_remove_padding() when doing length calculations. Both xdr_buf.len and iov.iov_len are size_t, which is unsigned; so use an unsigned type for our temporary length variable to ensure we don't overflow it.. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: "J. Bruce Fields" <bfields@citi.umich.edu> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>