Public bug reported: Hello!
After upgrading from libxine-main1_1.1.1+ubuntu2-7 to libxine- main1_1.1.1+ubuntu2-7.1 (dapper drake) i've noticed that some of the shoutcast streams aren't working any more. This is regression - they were working with 1.1.1+ubuntu2-7 version. I'm using i386 version of kubuntu 6.06. To reproduce 0. Check if you have libxine-extracodecs installed, if not, install it. 1. Open amarok. 2. Click on "Playlists" tab -> Radio Streams -> Cool Streams. 3. Double click on radio paradise -> double click on any of the 1048's. I've picked radio paradise as an example, but if you'll try each and every stream, you'll notice, that some of the others doesn't work too. Expected result The stream loads and music start playing. Actual result Error message appears at the bottom of the player. It says "Access was denied for the URL: http://64.236.34.4:80/stream/1048 xine parameters: http://64.236.34.4:80/stream/1048". When I tried to open the same playlist with kaffeine-xine, two messages appeared. 1st (xine message) - "Permission to this source was denied. (http://64.236.34.4:80/stream/1048)". 2nd (xine error) - "No plugin found to handle this resource (http://64.236.34.196:80/stream/1048)". In the details section - " xine: cannot find input plugin for MRL [http://64.236.34.196:80/stream/1048] xine: input plugin cannot open MRL [http://64.236.34.196:80/stream/1048] input_http: buffer exhausted after 104 bytes. xine: found input plugin : http input plugin xine: cannot find input plugin for MRL [http://64.236.34.97:80/stream/1048] xine: input plugin cannot open MRL [http://64.236.34.97:80/stream/1048] input_http: http status not 2xx: >404 Resource Not Found< xine: found input plugin : http input plugin xine: cannot find input plugin for MRL [http://64.236.34.67:80/stream/1048] xine: input plugin cannot open MRL [http://64.236.34.67:80/stream/1048] input_http: buffer exhausted after 103 bytes. xine: found input plugin : http input plugin xine: cannot find input plugin for MRL [http://64.236.34.4:80/stream/1048] xine: input plugin cannot open MRL [http://64.236.34.4:80/stream/1048] input_http: buffer exhausted after 102 bytes. xine: found input plugin : http input plugin " I've looked into xine-lib_1.1.1+ubuntu2-7.1,diff and I suspect that the bug is in the following lines. " --- xine-lib-1.1.1+ubuntu2.orig/src/input/input_http.c +++ xine-lib-1.1.1+ubuntu2/src/input/input_http.c @@ -895,6 +895,12 @@ len = 0; } else len ++; + if ( len >= buflen ) { + _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."), buflen); + return 0; + } } lprintf ("end of headers\n"); " Help? ** Affects: xine-lib (Ubuntu) Importance: Untriaged Status: Unconfirmed ** CVE added: http://www.cve.mitre.org/cgi- bin/cvename.cgi?name=2006-2802 -- !Regression! xine-lib based applications refuse to load some shoutcast streams. https://launchpad.net/bugs/50734 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs