commit | 58fcb8df0bf663bb6b8f46cd3010bfe8d13d97cf | [log] [tgz] |
---|---|---|
author | Trond Myklebust <Trond.Myklebust@netapp.com> | Wed Aug 10 18:15:12 2005 -0400 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Tue Aug 16 08:52:11 2005 -0700 |
tree | 24edbecfb5875cf6c602b1fd5126c7dfce9ae127 | |
parent | 75cd968ab251ac84dd3a5dc252af7036dc4a64f4 [diff] [blame] |
[PATCH] NFS: Ensure ACL xdr code doesn't overflow. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
diff --git a/include/linux/sunrpc/xdr.h b/include/linux/sunrpc/xdr.h index 34ec3e8..23448d0 100644 --- a/include/linux/sunrpc/xdr.h +++ b/include/linux/sunrpc/xdr.h
@@ -177,6 +177,7 @@ struct xdr_array2_desc { unsigned int elem_size; unsigned int array_len; + unsigned int array_maxlen; xdr_xcode_elem_t xcode; };