From 37939860e110385b439da62f8369e93e97b57d27 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Fri, 19 Feb 2010 08:19:26 -0800 Subject: [PATCH] remove another .32 patch --- queue-2.6.32/series | 1 - ...ect-dereference-of-userspace-pointer.patch | 43 ------------------- 2 files changed, 44 deletions(-) delete mode 100644 queue-2.6.32/vgaarb-fix-incorrect-dereference-of-userspace-pointer.patch diff --git a/queue-2.6.32/series b/queue-2.6.32/series index d8db48ad905..d5f752302ff 100644 --- a/queue-2.6.32/series +++ b/queue-2.6.32/series @@ -24,7 +24,6 @@ alsa-hda-intel-avoid-divide-by-zero-crash.patch cpufreq-fix-use-after-free-of-struct-powernow_k8_data.patch freeze_bdev-don-t-deactivate-successfully-frozen-ms_rdonly-sb.patch cciss-make-cciss_seq_show-handle-holes-in-the-h-drv-array.patch -vgaarb-fix-incorrect-dereference-of-userspace-pointer.patch ioat-fix-infinite-timeout-checking-in-ioat2_quiesce.patch resource-add-helpers-for-fetching-rlimits.patch fs-exec.c-restrict-initial-stack-space-expansion-to-rlimit.patch diff --git a/queue-2.6.32/vgaarb-fix-incorrect-dereference-of-userspace-pointer.patch b/queue-2.6.32/vgaarb-fix-incorrect-dereference-of-userspace-pointer.patch deleted file mode 100644 index bd41945672b..00000000000 --- a/queue-2.6.32/vgaarb-fix-incorrect-dereference-of-userspace-pointer.patch +++ /dev/null @@ -1,43 +0,0 @@ -From 77c1ff3982c6b36961725dd19e872a1c07df7f3b Mon Sep 17 00:00:00 2001 -From: Andy Getzendanner -Date: Thu, 11 Feb 2010 14:04:48 +1000 -Subject: vgaarb: fix incorrect dereference of userspace pointer. - -From: Andy Getzendanner - -commit 77c1ff3982c6b36961725dd19e872a1c07df7f3b upstream. - -This patch corrects a userspace pointer dereference in the VGA arbiter -in 2.6.32.1. - -copy_from_user() is used at line 822 to copy the contents of buf into -kbuf, but a call to strncmp() on line 964 uses buf rather than kbuf. This -problem led to a GPF in strncmp() when X was started on my x86_32 systems. - X triggered the behavior with a write of "target PCI:0000:01:00.0" to -/dev/vga_arbiter. - -The patch has been tested against 2.6.32.1 and observed to correct the GPF -observed when starting X or manually writing the string "target -PCI:0000:01:00.0" to /dev/vga_arbiter. - -Signed-off-by: Andy Getzendanner -Cc: Jesse Barnes -Signed-off-by: Andrew Morton -Signed-off-by: Dave Airlie -Signed-off-by: Greg Kroah-Hartman - ---- - drivers/gpu/vga/vgaarb.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - ---- a/drivers/gpu/vga/vgaarb.c -+++ b/drivers/gpu/vga/vgaarb.c -@@ -961,7 +961,7 @@ static ssize_t vga_arb_write(struct file - remaining -= 7; - pr_devel("client 0x%p called 'target'\n", priv); - /* if target is default */ -- if (!strncmp(buf, "default", 7)) -+ if (!strncmp(kbuf, "default", 7)) - pdev = pci_dev_get(vga_default_device()); - else { - if (!vga_pci_str_to_vars(curr_pos, remaining, -- 2.47.3