Package: release.debian.org
User: release.debian....@packages.debian.org
Usertags: unblock
Severity: normal
X-Debbugs-Cc: se...@debian.org

Please unblock package cubemap

Sesse found a bug in cubemap that sends the whole video backlog to the
client on connect in case the stream is unaptly named (i.e. seven
characters long). The fix is straightforward as depicted below and the
new release only contains the one-line fix.

This is the full debdiff:

> diff -Nru cubemap-1.3.1/debian/changelog cubemap-1.3.2/debian/changelog
> --- cubemap-1.3.1/debian/changelog    2016-12-13 21:25:07.000000000 +0100
> +++ cubemap-1.3.2/debian/changelog    2017-05-27 11:17:45.000000000 +0200
> @@ -1,3 +1,9 @@
> +cubemap (1.3.2-1) unstable; urgency=medium
> +
> +  * New upstream release (Closes: #863280)
> +
> + -- Philipp Kern <pk...@debian.org>  Sat, 27 May 2017 11:17:45 +0200
> +
>  cubemap (1.3.1-3) unstable; urgency=medium
>  
>    * Create the cubemap user before debhelper tries to start the service.
> diff -Nru cubemap-1.3.1/NEWS cubemap-1.3.2/NEWS
> --- cubemap-1.3.1/NEWS        2016-07-23 00:45:08.000000000 +0200
> +++ cubemap-1.3.2/NEWS        2017-05-24 21:28:51.000000000 +0200
> @@ -1,3 +1,12 @@
> +Cubemap 1.3.2, 2017-05-24
> +
> +  * Fix a bug where streams with paths exactly seven characters long
> +    (e.g. “/abc.ts”) would get broken buffering behavior, as they would
> +    start at the start of the backlog, not the end as they should.
> +    This caused massively increased latency and/or problems playing back
> +    the streams properly.
> +
> +
>  Cubemap 1.3.1, 2016-07-23
>  
>    * Support Metacube timestamp blocks. This allows Metacube producers
> diff -Nru cubemap-1.3.1/server.cpp cubemap-1.3.2/server.cpp
> --- cubemap-1.3.1/server.cpp  2016-07-23 00:45:08.000000000 +0200
> +++ cubemap-1.3.2/server.cpp  2017-05-24 21:28:51.000000000 +0200
> @@ -653,7 +653,7 @@
>  
>       string url = request_tokens[1];
>       client->url = url;
> -     if (url.find("?backlog") == url.size() - 8) {
> +     if (url.size() > 8 && url.find("?backlog") == url.size() - 8) {
>               client->stream_pos = -2;
>               url = url.substr(0, url.size() - 8);
>       } else {
> diff -Nru cubemap-1.3.1/version.h cubemap-1.3.2/version.h
> --- cubemap-1.3.1/version.h   2016-07-23 00:45:08.000000000 +0200
> +++ cubemap-1.3.2/version.h   2017-05-24 21:28:51.000000000 +0200
> @@ -3,7 +3,7 @@
>  
>  // Version number. Don't expect this to change all that often.
>  
> -#define SERVER_VERSION "1.3.1"
> +#define SERVER_VERSION "1.3.2"
>  #define SERVER_IDENTIFICATION "Cubemap/" SERVER_VERSION
>  
>  #endif  // !defined(_VERSION_H)

unblock cubemap/1.3.2-1

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to