openbsd-ports/multimedia/xine-lib/patches/patch-src_input_input_dvb_c
brad 33f483f736 upgrade to xine-lib 1.1.2
* Security fixes:
  - CVE-2006-2802: possible buffer overflow in the HTTP plugin.
  - possible buffer overflow via bad indexes in specially-crafted AVI files
* Fix a potential crash with fixed-size lacing in the Matroska demuxer
* Enable AMD64 mmx/sse support in some plugins (tvtime, libmpeg2, goom...)
* Fix xxmc subpictures (broken since 1.1.1)
* Add support for RealPlayer 10 codecs

WANTLIB tweak from bernd@

testing by steven@ and bernd@
2006-10-12 04:48:14 +00:00

15 lines
577 B
Plaintext

$OpenBSD: patch-src_input_input_dvb_c,v 1.2 2006/10/12 04:48:14 brad Exp $
--- src/input/input_dvb.c.orig Sun Jul 9 10:37:35 2006
+++ src/input/input_dvb.c Fri Sep 15 17:53:21 2006
@@ -986,8 +986,8 @@ static int tuner_tune_it (tuner_t *this,
if (poll(pfd,1,3000)){
if (pfd[0].revents & POLLIN){
- if (ioctl(this->fd_frontend, FE_GET_EVENT, &event) == -EOVERFLOW){
- print_error("EOVERFLOW");
+ if (ioctl(this->fd_frontend, FE_GET_EVENT, &event) == -EINVAL){
+ print_error("EINVAL");
return 0;
}
if (event.parameters.frequency <= 0)