diff options
Diffstat (limited to 'multimedia/xine-lib/patches')
-rw-r--r-- | multimedia/xine-lib/patches/patch-az | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/multimedia/xine-lib/patches/patch-az b/multimedia/xine-lib/patches/patch-az new file mode 100644 index 00000000000..f9906e8826d --- /dev/null +++ b/multimedia/xine-lib/patches/patch-az @@ -0,0 +1,14 @@ +$NetBSD: patch-az,v 1.1 2006/06/30 13:51:40 tron Exp $ + +--- src/input/input_http.c 2006-06-30 14:18:35.000000000 +0100 ++++ src/input/input_http.c.orig 2005-07-17 22:49:59.000000000 +0100 +@@ -765,7 +765,8 @@ + printf ("input_http: read...\n"); + */ + +- if (_x_io_tcp_read (this->stream, this->fh, &this->buf[len], 1) <= 0) { ++ if (len == sizeof(this->buf) || ++ _x_io_tcp_read (this->stream, this->fh, &this->buf[len], 1) <= 0) { + return 0; + } + |