summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-freebsd/freebsd-sources/files/freebsd-sources-cve-2012-4576.patch')
-rw-r--r--sys-freebsd/freebsd-sources/files/freebsd-sources-cve-2012-4576.patch16
1 files changed, 0 insertions, 16 deletions
diff --git a/sys-freebsd/freebsd-sources/files/freebsd-sources-cve-2012-4576.patch b/sys-freebsd/freebsd-sources/files/freebsd-sources-cve-2012-4576.patch
deleted file mode 100644
index 08110d60fa02..000000000000
--- a/sys-freebsd/freebsd-sources/files/freebsd-sources-cve-2012-4576.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-Index: sys/compat/linux/linux_ioctl.c
-===================================================================
---- sys/compat/linux/linux_ioctl.c (revision 242578)
-+++ sys/compat/linux/linux_ioctl.c (working copy)
-@@ -2260,8 +2260,9 @@ again:
-
- ifc.ifc_len = valid_len;
- sbuf_finish(sb);
-- memcpy(PTRIN(ifc.ifc_buf), sbuf_data(sb), ifc.ifc_len);
-- error = copyout(&ifc, uifc, sizeof(ifc));
-+ error = copyout(sbuf_data(sb), PTRIN(ifc.ifc_buf), ifc.ifc_len);
-+ if (error == 0)
-+ error = copyout(&ifc, uifc, sizeof(ifc));
- sbuf_delete(sb);
- CURVNET_RESTORE();
-