* [STAGING] fix verification of memory area
@ 2009-01-28 21:14 Roel Kluin
2009-01-28 22:10 ` patch staging-poch-fix-verification-of-memory-area.patch added to gregkh-2.6 tree gregkh
0 siblings, 1 reply; 2+ messages in thread
From: Roel Kluin @ 2009-01-28 21:14 UTC (permalink / raw)
To: Greg KH; +Cc: lkml
fix verification of memory area
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
---
diff --git a/drivers/staging/poch/poch.c b/drivers/staging/poch/poch.c
index ec343ef..0d111dd 100644
--- a/drivers/staging/poch/poch.c
+++ b/drivers/staging/poch/poch.c
@@ -1026,7 +1026,7 @@ static int poch_ioctl(struct inode *inode, struct file *filp,
}
break;
case POCH_IOC_GET_COUNTERS:
- if (access_ok(VERIFY_WRITE, argp, sizeof(struct poch_counters)))
+ if (!access_ok(VERIFY_WRITE, argp, sizeof(struct poch_counters)))
return -EFAULT;
spin_lock_irq(&channel->counters_lock);
^ permalink raw reply related [flat|nested] 2+ messages in thread
* patch staging-poch-fix-verification-of-memory-area.patch added to gregkh-2.6 tree
2009-01-28 21:14 [STAGING] fix verification of memory area Roel Kluin
@ 2009-01-28 22:10 ` gregkh
0 siblings, 0 replies; 2+ messages in thread
From: gregkh @ 2009-01-28 22:10 UTC (permalink / raw)
To: roel.kluin, gregkh, linux-kernel
This is a note to let you know that I've just added the patch titled
Subject: Staging: poch: fix verification of memory area
to my gregkh-2.6 tree. Its filename is
staging-poch-fix-verification-of-memory-area.patch
This tree can be found at
http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/patches/
>From roel.kluin@gmail.com Wed Jan 28 14:00:58 2009
From: Roel Kluin <roel.kluin@gmail.com>
Date: Wed, 28 Jan 2009 22:14:17 +0100
Subject: Staging: poch: fix verification of memory area
To: Greg KH <gregkh@suse.de>
Cc: lkml <linux-kernel@vger.kernel.org>
Message-ID: <4980CAA9.1060301@gmail.com>
fix verification of memory area
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/staging/poch/poch.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/staging/poch/poch.c
+++ b/drivers/staging/poch/poch.c
@@ -1026,7 +1026,7 @@ static int poch_ioctl(struct inode *inod
}
break;
case POCH_IOC_GET_COUNTERS:
- if (access_ok(VERIFY_WRITE, argp, sizeof(struct poch_counters)))
+ if (!access_ok(VERIFY_WRITE, argp, sizeof(struct poch_counters)))
return -EFAULT;
spin_lock_irq(&channel->counters_lock);
Patches currently in gregkh-2.6 which might be from roel.kluin@gmail.com are
usb.current/usb-gadget-fix-x-y.patch
staging/staging-meilhaus-unsigned-won-t-get-negative-after-subtraction.patch
staging/staging-otus-logical-bit-and-confusion.patch
staging/staging-usbip-usbip_start_threads-handle-kernel_thread-failure.patch
staging/staging-poch-fix-verification-of-memory-area.patch
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-01-28 22:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-28 21:14 [STAGING] fix verification of memory area Roel Kluin
2009-01-28 22:10 ` patch staging-poch-fix-verification-of-memory-area.patch added to gregkh-2.6 tree gregkh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox