From: Chuck Lever Date: Wed, 26 Sep 2007 18:38:10 +0000 (-0400) Subject: SUNRPC: Use correct type in buffer length calculations X-Git-Tag: v2.6.24-rc1~1285^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67f97d83bfcca9d9f8fbeeb14e7c644a82b24e12;p=pandora-kernel.git 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 Signed-off-by: "J. Bruce Fields" Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed