Bugzilla – Attachment 15741 Details for
Bug 49118
VUL-0: CVE-2004-0075: kernel: Vicam USB driver
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
[patch]
vicam-2.4.25pre.diff
vicam-2.4.25pre.diff (text/plain), 696 bytes, created by
Thomas Biege
on 2004-01-23 23:32:00 UTC
(
hide
)
Description:
vicam-2.4.25pre.diff
Filename:
MIME Type:
Creator:
Thomas Biege
Created:
2004-01-23 23:32:00 UTC
Size:
696 bytes
patch
obsolete
>diff -Nru a/drivers/usb/vicam.c b/drivers/usb/vicam.c >--- a/drivers/usb/vicam.c Mon Jan 12 05:06:21 2004 >+++ b/drivers/usb/vicam.c Mon Jan 12 05:06:21 2004 >@@ -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
.
Actions:
View
|
Diff
Attachments on
bug 49118
: 15741