summaryrefslogtreecommitdiffstats
path: root/include/linux/sunrpc
diff options
context:
space:
mode:
authorTrond Myklebust2005-08-11 00:15:12 +0200
committerLinus Torvalds2005-08-16 17:52:11 +0200
commit58fcb8df0bf663bb6b8f46cd3010bfe8d13d97cf (patch)
tree24edbecfb5875cf6c602b1fd5126c7dfce9ae127 /include/linux/sunrpc
parentum: fix __pa/__va macro expansion problem (diff)
downloadkernel-qcow2-linux-58fcb8df0bf663bb6b8f46cd3010bfe8d13d97cf.tar.gz
kernel-qcow2-linux-58fcb8df0bf663bb6b8f46cd3010bfe8d13d97cf.tar.xz
kernel-qcow2-linux-58fcb8df0bf663bb6b8f46cd3010bfe8d13d97cf.zip
[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>
Diffstat (limited to 'include/linux/sunrpc')
-rw-r--r--include/linux/sunrpc/xdr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sunrpc/xdr.h b/include/linux/sunrpc/xdr.h
index 34ec3e8d99b3..23448d0fb5bc 100644
--- a/include/linux/sunrpc/xdr.h
+++ b/include/linux/sunrpc/xdr.h
@@ -177,6 +177,7 @@ typedef int (*xdr_xcode_elem_t)(struct xdr_array2_desc *desc, void *elem);
struct xdr_array2_desc {
unsigned int elem_size;
unsigned int array_len;
+ unsigned int array_maxlen;
xdr_xcode_elem_t xcode;
};