Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 25878 Details for
Bug 42024
Linux kernel do_mremap VMA limit local privilege escalation vulnerability
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Vicam USB driver patch for CAN-2004-0075
vicam-CAN-2004-0075.patch (text/plain), 730 bytes, created by
antiher0
on 2004-02-18 14:02:00 UTC
(
hide
)
Description:
Vicam USB driver patch for CAN-2004-0075
Filename:
MIME Type:
Creator:
antiher0
Created:
2004-02-18 14:02:00 UTC
Size:
730 bytes
patch
obsolete
>diff -urN linux-2.4.25-pre4/drivers/usb/vicam.c linux-2.4.25-pre5/drivers/usb/vicam.c >--- linux-2.4.25-pre4/drivers/usb/vicam.c 2003-11-28 10:26:20.000000000 -0800 >+++ linux-2.4.25-pre5/drivers/usb/vicam.c 2004-01-15 12:10:23.000000000 -0800 >@@ -601,12 +601,19 @@ > case VIDIOCSWIN: > { > >- struct video_window *vw = (struct video_window *) arg; >- DBG("VIDIOCSWIN %d x %d\n", vw->width, vw->height); >+ struct video_window vw; > >- if ( vw->width != 320 || vw->height != 240 ) >+ if (copy_from_user(&vw, arg, sizeof(vw))) >+ { > retval = -EFAULT; >+ break; >+ } >+ >+ DBG("VIDIOCSWIN %d x %d\n", vw->width, vw->height); > >+ if ( vw.width != 320 || vw.height != 240 ) >+ retval = -EFAULT; >+ > break; > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 42024
: 25878 |
25879
|
25949
|
25950
|
26198