aboutsummaryrefslogtreecommitdiff
path: root/multimedia/libxine/files
diff options
context:
space:
mode:
authorMANTANI Nobutaka <nobutaka@FreeBSD.org>2006-06-11 12:49:42 +0000
committerMANTANI Nobutaka <nobutaka@FreeBSD.org>2006-06-11 12:49:42 +0000
commit0931ab52f4af4db42bbf72637e91287705c526c2 (patch)
tree526fc4498a4b0704272a4684f0b598dee3df9356 /multimedia/libxine/files
parent06c0ecf8434be4a37ae5dd947b235d1184bd2b61 (diff)
downloadports-0931ab52f4af4db42bbf72637e91287705c526c2.tar.gz
ports-0931ab52f4af4db42bbf72637e91287705c526c2.zip
Notes
Diffstat (limited to 'multimedia/libxine/files')
-rw-r--r--multimedia/libxine/files/patch-src_input_input_http.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/multimedia/libxine/files/patch-src_input_input_http.c b/multimedia/libxine/files/patch-src_input_input_http.c
new file mode 100644
index 000000000000..16cba0bcd3f8
--- /dev/null
+++ b/multimedia/libxine/files/patch-src_input_input_http.c
@@ -0,0 +1,15 @@
+--- src/input/input_http.c.orig Tue Jun 6 21:16:04 2006
++++ src/input/input_http.c Tue Jun 6 21:22:34 2006
+@@ -895,6 +895,12 @@
+ len = 0;
+ } else
+ len ++;
++ if ( len >= BUFSIZE ) {
++ _x_message(this->stream, XINE_MSG_PERMISSION_ERROR, this->mrl, NULL);
++ xine_log (this->stream->xine, XINE_LOG_MSG,
++ _("input_http: buffer exhausted after %d bytes."), BUFSIZE);
++ return 0;
++ }
+ }
+
+ lprintf ("end of headers\n");