eb44a52c7c
security fix: CVE-2008-0225 - heap-based buffer overflow in libreal (RTSP) also incorporates post release bug fix in WMV decoding from brad, thanks
13 lines
649 B
Plaintext
13 lines
649 B
Plaintext
$OpenBSD: patch-src_input_input_net_c,v 1.2 2008/01/15 00:36:46 jakemsr Exp $
|
|
--- src/input/input_net.c.orig Tue Jan 1 08:30:08 2008
|
|
+++ src/input/input_net.c Wed Jan 9 01:50:22 2008
|
|
@@ -272,7 +272,7 @@ static off_t net_plugin_read (input_plugin_t *this_gen
|
|
xprintf(this->stream->xine, XINE_VERBOSITY_DEBUG, "input_net: got %" PRIdMAX " bytes (%" PRIdMAX "/%" PRIdMAX " bytes read)\n", (intmax_t)n, (intmax_t)total, (intmax_t)len);
|
|
|
|
if (n < 0) {
|
|
- _x_message(this->stream, XINE_MSG_READ_ERROR, this->host_port, NULL);
|
|
+ _x_message(this->stream, XINE_MSG_READ_ERROR, this->host_port, (char *)NULL);
|
|
return 0;
|
|
}
|
|
|