Hello community, here is the log from the commit of package live555 for openSUSE:Factory checked in at 2020-10-22 14:20:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/live555 (Old) and /work/SRC/openSUSE:Factory/.live555.new.3463 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "live555" Thu Oct 22 14:20:21 2020 rev:24 rq:842413 version:2020.10.16 Changes: -------- --- /work/SRC/openSUSE:Factory/live555/live555.changes 2020-10-10 19:00:28.088367453 +0200 +++ /work/SRC/openSUSE:Factory/.live555.new.3463/live555.changes 2020-10-22 14:20:42.918665833 +0200 @@ -1,0 +2,11 @@ +Sun Oct 18 17:54:57 UTC 2020 - Dirk Mueller <dmuel...@suse.com> + +- update to 2020.10.16: + - Changed "TLSState::read()" to treat any "SSL_read()" result of <=0 as if the + TLS connection has closed (unless the error was SSL_ERROR_WANT_READ). + This fixes a problem that could cause 100% CPU usage in RTSP client applications. + (Thanks to Larry Wu for reporting this.) + - Updated "TLSState::setup()" to use "TLS_client_method()" instead of the (deprecated) + "SSLv23_client_method()". + +------------------------------------------------------------------- Old: ---- live.2020.08.19.tar.gz New: ---- live.2020.10.16.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ live555.spec ++++++ --- /var/tmp/diff_new_pack.qWFKCY/_old 2020-10-22 14:20:44.490667245 +0200 +++ /var/tmp/diff_new_pack.qWFKCY/_new 2020-10-22 14:20:44.494667249 +0200 @@ -20,7 +20,7 @@ %define lmdmaj 81 Name: live555 -Version: 2020.08.19 +Version: 2020.10.16 Release: 0 Summary: LIVE555 Streaming Media License: LGPL-2.1-only ++++++ live.2020.08.19.tar.gz -> live.2020.10.16.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/live/BasicUsageEnvironment/include/BasicUsageEnvironment_version.hh new/live/BasicUsageEnvironment/include/BasicUsageEnvironment_version.hh --- old/live/BasicUsageEnvironment/include/BasicUsageEnvironment_version.hh 2020-08-20 01:11:17.000000000 +0200 +++ new/live/BasicUsageEnvironment/include/BasicUsageEnvironment_version.hh 2020-10-16 03:40:15.000000000 +0200 @@ -4,7 +4,7 @@ #ifndef _BASICUSAGEENVIRONMENT_VERSION_HH #define _BASICUSAGEENVIRONMENT_VERSION_HH -#define BASICUSAGEENVIRONMENT_LIBRARY_VERSION_STRING "2020.08.19" -#define BASICUSAGEENVIRONMENT_LIBRARY_VERSION_INT 1597795200 +#define BASICUSAGEENVIRONMENT_LIBRARY_VERSION_STRING "2020.10.16" +#define BASICUSAGEENVIRONMENT_LIBRARY_VERSION_INT 1602806400 #endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/live/UsageEnvironment/include/UsageEnvironment_version.hh new/live/UsageEnvironment/include/UsageEnvironment_version.hh --- old/live/UsageEnvironment/include/UsageEnvironment_version.hh 2020-08-20 01:11:17.000000000 +0200 +++ new/live/UsageEnvironment/include/UsageEnvironment_version.hh 2020-10-16 03:40:15.000000000 +0200 @@ -4,7 +4,7 @@ #ifndef _USAGEENVIRONMENT_VERSION_HH #define _USAGEENVIRONMENT_VERSION_HH -#define USAGEENVIRONMENT_LIBRARY_VERSION_STRING "2020.08.19" -#define USAGEENVIRONMENT_LIBRARY_VERSION_INT 1597795200 +#define USAGEENVIRONMENT_LIBRARY_VERSION_STRING "2020.10.16" +#define USAGEENVIRONMENT_LIBRARY_VERSION_INT 1602806400 #endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/live/config.linux-with-shared-libraries new/live/config.linux-with-shared-libraries --- old/live/config.linux-with-shared-libraries 2020-08-20 01:11:27.000000000 +0200 +++ new/live/config.linux-with-shared-libraries 2020-10-16 03:40:58.000000000 +0200 @@ -4,7 +4,7 @@ # One or more interfaces were added, but no existing interfaces were changed or removed => CURRENT += 1; REVISION = 0; AGE += 1 libliveMedia_VERSION_CURRENT=81 -libliveMedia_VERSION_REVISION=4 +libliveMedia_VERSION_REVISION=5 libliveMedia_VERSION_AGE=0 libliveMedia_LIB_SUFFIX=so.$(shell expr $(libliveMedia_VERSION_CURRENT) - $(libliveMedia_VERSION_AGE)).$(libliveMedia_VERSION_AGE).$(libliveMedia_VERSION_REVISION) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/live/groupsock/include/groupsock_version.hh new/live/groupsock/include/groupsock_version.hh --- old/live/groupsock/include/groupsock_version.hh 2020-08-20 01:11:17.000000000 +0200 +++ new/live/groupsock/include/groupsock_version.hh 2020-10-16 03:40:15.000000000 +0200 @@ -4,7 +4,7 @@ #ifndef _GROUPSOCK_VERSION_HH #define _GROUPSOCK_VERSION_HH -#define GROUPSOCK_LIBRARY_VERSION_STRING "2020.08.19" -#define GROUPSOCK_LIBRARY_VERSION_INT 1597795200 +#define GROUPSOCK_LIBRARY_VERSION_STRING "2020.10.16" +#define GROUPSOCK_LIBRARY_VERSION_INT 1602806400 #endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/live/liveMedia/QuickTimeFileSink.cpp new/live/liveMedia/QuickTimeFileSink.cpp --- old/live/liveMedia/QuickTimeFileSink.cpp 2020-08-20 01:11:17.000000000 +0200 +++ new/live/liveMedia/QuickTimeFileSink.cpp 2020-10-16 03:40:15.000000000 +0200 @@ -1878,12 +1878,12 @@ size += addWord(0x00480000); // Horizontal resolution size += addWord(0x00480000); // Vertical resolution size += addWord(0x00000000); // Data size - size += addWord(0x00010548); // Frame count+Compressor name (start) + size += addWord(0x00010548); // Frame count+Compressor name (start) // "H.264" size += addWord(0x2e323634); // Compressor name (continued) size += addZeroWords(6); // Compressor name (continued - zero) size += addWord(0x00000018); // Compressor name (final)+Depth - size += addHalfWord(0xffff); // Color table id + size += addHalfWord(0xffff); // Color table id size += addAtom_avcC(); addAtomEnd; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/live/liveMedia/TLSState.cpp new/live/liveMedia/TLSState.cpp --- old/live/liveMedia/TLSState.cpp 2020-08-20 01:11:17.000000000 +0200 +++ new/live/liveMedia/TLSState.cpp 2020-10-16 03:40:15.000000000 +0200 @@ -73,9 +73,12 @@ int TLSState::read(u_int8_t* buffer, unsigned bufferSize) { #ifndef NO_OPENSSL int result = SSL_read(fCon, buffer, bufferSize); - if (result < 0 && SSL_get_error(fCon, result) == SSL_ERROR_WANT_READ) { - // The data can't be delivered yet. Return 0 (bytes read); we'll try again later - return 0; + if (result <= 0) { + if (SSL_get_error(fCon, result) == SSL_ERROR_WANT_READ) { + // The data can't be delivered yet. Return 0 (bytes read); we'll try again later + return 0; + } + return -1; // assume that the connection has closed } return result; #else @@ -97,7 +100,7 @@ do { (void)SSL_library_init(); - SSL_METHOD const* meth = SSLv23_client_method(); + SSL_METHOD const* meth = TLS_client_method(); if (meth == NULL) break; fCtx = SSL_CTX_new(meth); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/live/liveMedia/include/liveMedia_version.hh new/live/liveMedia/include/liveMedia_version.hh --- old/live/liveMedia/include/liveMedia_version.hh 2020-08-20 01:11:17.000000000 +0200 +++ new/live/liveMedia/include/liveMedia_version.hh 2020-10-16 03:40:15.000000000 +0200 @@ -4,7 +4,7 @@ #ifndef _LIVEMEDIA_VERSION_HH #define _LIVEMEDIA_VERSION_HH -#define LIVEMEDIA_LIBRARY_VERSION_STRING "2020.08.19" -#define LIVEMEDIA_LIBRARY_VERSION_INT 1597795200 +#define LIVEMEDIA_LIBRARY_VERSION_STRING "2020.10.16" +#define LIVEMEDIA_LIBRARY_VERSION_INT 1602806400 #endif