Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 160234 Details for
Bug 250070
Stack corruption when get XV_FREQ on 64bit arches
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
This patch fixes the issue.
xf86-video-v4l-0.1.1-xvfreq.patch (text/plain), 934 bytes, created by
Dmitry Butskoy
on 2007-07-30 10:57:02 UTC
(
hide
)
Description:
This patch fixes the issue.
Filename:
MIME Type:
Creator:
Dmitry Butskoy
Created:
2007-07-30 10:57:02 UTC
Size:
934 bytes
patch
obsolete
>diff -Nrbu xf86-video-v4l-0.1.1/src/v4l.c xf86-video-v4l-0.1.1-OK/src/v4l.c >--- xf86-video-v4l-0.1.1/src/v4l.c 2006-04-08 05:51:30.000000000 +0400 >+++ xf86-video-v4l-0.1.1-OK/src/v4l.c 2007-07-27 17:19:50.000000000 +0400 >@@ -593,7 +593,8 @@ > if (-1 == ioctl(V4L_FD,VIDIOCSAUDIO,&pPPriv->audio)) > perror("ioctl VIDIOCSAUDIO"); > } else if (attribute == xvFreq) { >- if (-1 == ioctl(V4L_FD,VIDIOCSFREQ,&value)) >+ unsigned long freq = value; >+ if (-1 == ioctl(V4L_FD,VIDIOCSFREQ,&freq)) > perror("ioctl VIDIOCSFREQ"); > } else if (0 != pPPriv->yuv_format && > pPPriv->myfmt->setAttribute) { >@@ -645,7 +646,9 @@ > ret = BadValue; > } > } else if (attribute == xvFreq) { >- ioctl(V4L_FD,VIDIOCGFREQ,value); >+ unsigned long freq; >+ ioctl(V4L_FD,VIDIOCGFREQ,&freq); >+ *value = freq; > } else if (0 != pPPriv->yuv_format && > pPPriv->myfmt->getAttribute) { > /* not mine -> pass to yuv scaler driver */
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 250070
: 160234