openbsd-ports/multimedia/xine-lib/patches/patch-src_input_input_dvb_c
brad 9d275cf52c update to Xine-lib 1.1.15
This release contains some security fixes, notably a DoS via
corrupted Ogg files (CVS-2008-3231), some related fixes, and
fixes for a few possible buffer overflows.

ok jakemsr@
2008-08-20 01:54:01 +00:00

22 lines
1.1 KiB
Plaintext

$OpenBSD: patch-src_input_input_dvb_c,v 1.8 2008/08/20 01:54:01 brad Exp $
--- src/input/input_dvb.c.orig Thu Aug 7 13:52:41 2008
+++ src/input/input_dvb.c Thu Aug 14 18:48:39 2008
@@ -903,7 +903,7 @@ static channel_t *load_channels(xine_t *xine, xine_str
if (!f) {
xprintf(xine, XINE_VERBOSITY_LOG, _("input_dvb: failed to open dvb channel file '%s': %s\n"), filename, strerror (errno));
if (!f && stream)
- _x_message(stream, XINE_MSG_FILE_NOT_FOUND, filename, "Please run the dvbscan utility.", NULL);
+ _x_message(stream, XINE_MSG_FILE_NOT_FOUND, filename, "Please run the dvbscan utility.", (char *)NULL);
return NULL;
}
if (fstat(fileno(f), &st) || !S_ISREG (st.st_mode)) {
@@ -2585,7 +2585,7 @@ static off_t dvb_plugin_read (input_plugin_t *this_gen
/* no data for several seconds - tell the user a possible reason */
if(this->read_failcount==5){
- _x_message(this->stream,1,"DVB Signal Lost. Please check connections.", NULL);
+ _x_message(this->stream,1,"DVB Signal Lost. Please check connections.", (char *)NULL);
}
#ifdef DVB_NO_BUFFERING
if(this->newchannel){