From 9646fd7a5f590fc9f4ac1b7253520636bc9c62cf Mon Sep 17 00:00:00 2001 From: Heiko Carstens Date: Fri, 4 Jun 2010 14:14:47 -0700 Subject: [PATCH] --- yaml --- r: 199807 b: refs/heads/master c: 7cbe17701a0379c7b05a79a6df4f24e41d2afde8 h: refs/heads/master i: 199805: 61fa7a8b619de45c99264f363f0edb77cfb30032 199803: c3b87f6416285afbf23a0cd017eab649451efc27 199799: 044fa08f3288de089e5d745a15926261dbcee654 199791: 486439ed8d0ba9dec0ed78d2fb6fbb63fc0f3c0e 199775: efa1961dee08a0f6297b09745ee1600bea0ac1ab 199743: c21a879d3de29c2c59a2a95763b7cbc9235116c8 199679: 813dfd27e1233fdb236c6ea57ba88f738697492f v: v3 --- [refs] | 2 +- trunk/fs/compat.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index bfb403be7d62..c5d5753ea3d4 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: eaa6e4dd4bf243a357056448e54d7c673cd44acb +refs/heads/master: 7cbe17701a0379c7b05a79a6df4f24e41d2afde8 diff --git a/trunk/fs/compat.c b/trunk/fs/compat.c index f0b391c50552..6490d2134ff3 100644 --- a/trunk/fs/compat.c +++ b/trunk/fs/compat.c @@ -626,7 +626,7 @@ ssize_t compat_rw_copy_check_uvector(int type, tot_len += len; if (tot_len < tmp) /* maths overflow on the compat_ssize_t */ goto out; - if (!access_ok(vrfy_dir(type), buf, len)) { + if (!access_ok(vrfy_dir(type), compat_ptr(buf), len)) { ret = -EFAULT; goto out; }