Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package live555 for openSUSE:Factory checked in at 2026-12-03 13:55:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/live555 (Old) and /work/SRC/openSUSE:Factory/.live555.new.1340718 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "live555" Thu Dec 3 13:55:50 2026 rev:56 rq:1402312 version:2026.12.01 Changes: -------- --- /work/SRC/openSUSE:Factory/live555/live555.changes 2026-12-01 17:19:18.319407443 +0100 +++ /work/SRC/openSUSE:Factory/.live555.new.1340718/live555.changes 2026-12-03 13:56:15.166517767 +0100 @@ -1,0 +2,7 @@ +Wed Dec 2 07:29:09 UTC 2026 - Bjørn Lie <[email protected]> + +- Update to version 2026.12.01: + * Fixed a bug that could cause "MatroskaFileParser" to get into an infinite + loop when trying to parse some malformed files. + +------------------------------------------------------------------- Old: ---- live.2026.11.29.tar.gz New: ---- live.2026.12.01.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ live555.spec ++++++ --- /var/tmp/diff_new_pack.BQdW8R/_old 2026-12-03 13:56:16.596578017 +0100 +++ /var/tmp/diff_new_pack.BQdW8R/_new 2026-12-03 13:56:16.599578143 +0100 @@ -19,7 +19,7 @@ %define lmdmaj 122 Name: live555 -Version: 2026.11.29 +Version: 2026.12.01 Release: 0 Summary: LIVE555 Streaming Media License: LGPL-2.1-only ++++++ live.2026.11.29.tar.gz -> live.2026.12.01.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 2026-11-29 16:05:37.000000000 +0100 +++ new/live/BasicUsageEnvironment/include/BasicUsageEnvironment_version.hh 2026-12-01 22:48:41.000000000 +0100 @@ -19,8 +19,8 @@ #ifndef _BASICUSAGEENVIRONMENT_VERSION_HH #define _BASICUSAGEENVIRONMENT_VERSION_HH -#define BASICUSAGEENVIRONMENT_LIBRARY_VERSION_STRING "2026.11.29" -#define BASICUSAGEENVIRONMENT_LIBRARY_VERSION_INT 1795910400 +#define BASICUSAGEENVIRONMENT_LIBRARY_VERSION_STRING "2026.12.01" +#define BASICUSAGEENVIRONMENT_LIBRARY_VERSION_INT 1796083200 extern char const* const BasicUsageEnvironmentLibraryVersionStr; extern int const BasicUsageEnvironmentLibraryVersionInt; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/live/BasicUsageEnvironment/include/BasicUsageEnvironment_versionInt.txt new/live/BasicUsageEnvironment/include/BasicUsageEnvironment_versionInt.txt --- old/live/BasicUsageEnvironment/include/BasicUsageEnvironment_versionInt.txt 2026-11-29 16:05:37.000000000 +0100 +++ new/live/BasicUsageEnvironment/include/BasicUsageEnvironment_versionInt.txt 2026-12-01 22:48:41.000000000 +0100 @@ -1 +1 @@ -1795910400 \ No newline at end of file +1796083200 \ No newline at end of file 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 2026-11-29 16:05:37.000000000 +0100 +++ new/live/UsageEnvironment/include/UsageEnvironment_version.hh 2026-12-01 22:48:41.000000000 +0100 @@ -19,8 +19,8 @@ #ifndef _USAGEENVIRONMENT_VERSION_HH #define _USAGEENVIRONMENT_VERSION_HH -#define USAGEENVIRONMENT_LIBRARY_VERSION_STRING "2026.11.29" -#define USAGEENVIRONMENT_LIBRARY_VERSION_INT 1795910400 +#define USAGEENVIRONMENT_LIBRARY_VERSION_STRING "2026.12.01" +#define USAGEENVIRONMENT_LIBRARY_VERSION_INT 1796083200 extern char const* const UsageEnvironmentLibraryVersionStr; extern int const UsageEnvironmentLibraryVersionInt; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/live/UsageEnvironment/include/UsageEnvironment_versionInt.txt new/live/UsageEnvironment/include/UsageEnvironment_versionInt.txt --- old/live/UsageEnvironment/include/UsageEnvironment_versionInt.txt 2026-11-29 16:05:37.000000000 +0100 +++ new/live/UsageEnvironment/include/UsageEnvironment_versionInt.txt 2026-12-01 22:48:41.000000000 +0100 @@ -1 +1 @@ -1795910400 \ No newline at end of file +1796083200 \ No newline at end of file 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 2026-11-29 16:05:55.000000000 +0100 +++ new/live/config.linux-with-shared-libraries 2026-12-01 22:48:51.000000000 +0100 @@ -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=122 -libliveMedia_VERSION_REVISION=8 +libliveMedia_VERSION_REVISION=9 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 2026-11-29 16:05:37.000000000 +0100 +++ new/live/groupsock/include/groupsock_version.hh 2026-12-01 22:48:41.000000000 +0100 @@ -19,8 +19,8 @@ #ifndef _GROUPSOCK_VERSION_HH #define _GROUPSOCK_VERSION_HH -#define GROUPSOCK_LIBRARY_VERSION_STRING "2026.11.29" -#define GROUPSOCK_LIBRARY_VERSION_INT 1795910400 +#define GROUPSOCK_LIBRARY_VERSION_STRING "2026.12.01" +#define GROUPSOCK_LIBRARY_VERSION_INT 1796083200 extern char const* const groupsockLibraryVersionStr; extern int const groupsockLibraryVersionInt; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/live/groupsock/include/groupsock_versionInt.txt new/live/groupsock/include/groupsock_versionInt.txt --- old/live/groupsock/include/groupsock_versionInt.txt 2026-11-29 16:05:37.000000000 +0100 +++ new/live/groupsock/include/groupsock_versionInt.txt 2026-12-01 22:48:41.000000000 +0100 @@ -1 +1 @@ -1795910400 \ No newline at end of file +1796083200 \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/live/liveMedia/MatroskaFileParser.cpp new/live/liveMedia/MatroskaFileParser.cpp --- old/live/liveMedia/MatroskaFileParser.cpp 2026-11-29 16:05:37.000000000 +0100 +++ new/live/liveMedia/MatroskaFileParser.cpp 2026-12-01 22:48:41.000000000 +0100 @@ -115,14 +115,17 @@ if (fOnEndFunc != NULL) (*fOnEndFunc)(fOnEndClientData); } +#define INTERNAL_PARSER_RESET 2 + Boolean MatroskaFileParser::parse() { Boolean areDone = False; if (fInputSource->isCurrentlyAwaitingData()) return False; // Our input source is currently being read. Wait until that read completes - try { - skipRemainingHeaderBytes(True); // if any - do { + do { + try { + skipRemainingHeaderBytes(True); // if any + if (fInputSource->isCurrentlyAwaitingData()) return False; // Our input source is currently being read. Wait until that read completes @@ -182,15 +185,15 @@ break; } } - } while (!areDone); - - return True; - } catch (int /*e*/) { + } catch (int e) { #ifdef DEBUG - fprintf(stderr, "MatroskaFileParser::parse() EXCEPTION (This is normal behavior - *not* an error)\n"); + fprintf(stderr, "MatroskaFileParser::parse() EXCEPTION(%d) (This is normal behavior - *not* an error)\n", e); #endif - return False; // the parsing got interrupted - } + if (e != INTERNAL_PARSER_RESET) return False; // we await more data + } + } while (!areDone); + + return True; } Boolean MatroskaFileParser::parseStartOfFile() { @@ -321,7 +324,7 @@ MatroskaTrack* track = NULL; EBMLId id; EBMLDataSize size; - while (fCurOffsetInFile < fLimitOffsetInFile) { + while (fLimitOffsetInFile == 0 || fCurOffsetInFile < fLimitOffsetInFile) { while (!parseEBMLIdAndSize(id, size)) {} #ifdef DEBUG if (id == MATROSKA_ID_TRACK_ENTRY) fprintf(stderr, "\n"); // makes debugging output easier to read @@ -869,7 +872,7 @@ double currentCueTime = 0.0; u_int64_t currentClusterOffsetInFile = 0; - while (fCurOffsetInFile < fLimitOffsetInFile) { + while (fLimitOffsetInFile == 0 || fCurOffsetInFile < fLimitOffsetInFile) { while (!parseEBMLIdAndSize(id, size)) {} #ifdef DEBUG_CUES if (id == MATROSKA_ID_CUE_POINT) fprintf(stderr, "\n"); // makes debugging output easier to read @@ -1324,13 +1327,18 @@ u_int8_t bitmask = 0x80; for (i = 0; i < EBML_NUMBER_MAX_LEN; ++i) { while (1) { - if (fLimitOffsetInFile > 0 && fCurOffsetInFile > fLimitOffsetInFile) return False; // We've hit our pre-set limit + if (fLimitOffsetInFile > 0 && fCurOffsetInFile > fLimitOffsetInFile) { + // We've hit our pre-set limit within the file, and can't continue parsing. + // Throw an exception to reset the parser: + fLimitOffsetInFile = 0; + throw INTERNAL_PARSER_RESET; + } num.data[i] = get1Byte(); ++fCurOffsetInFile; + setParseState(); // ensures that we make forward progress if the parsing gets interrupted // If we're looking for an id, skip any leading bytes that don't contain a '1' in the first 4 bits: if (i == 0/*we're a leading byte*/ && !num.stripLeading1/*we're looking for an id*/ && (num.data[i]&0xF0) == 0) { - setParseState(); // ensures that we make forward progress if the parsing gets interrupted continue; } break; @@ -1358,7 +1366,12 @@ result = 0; // initially for (unsigned i = (unsigned)sv; i > 0; --i) { - if (fLimitOffsetInFile > 0 && fCurOffsetInFile > fLimitOffsetInFile) return False; // We've hit our pre-set limit + if (fLimitOffsetInFile > 0 && fCurOffsetInFile > fLimitOffsetInFile) { + // We've hit our pre-set limit within the file, and can't continue parsing. + // Throw an exception to reset the parser: + fLimitOffsetInFile = 0; + throw INTERNAL_PARSER_RESET; + } u_int8_t c = get1Byte(); ++fCurOffsetInFile; @@ -1414,7 +1427,12 @@ char* p = result; u_int64_t i; for (i = 0; i < resultLength; ++i) { - if (fLimitOffsetInFile > 0 && fCurOffsetInFile > fLimitOffsetInFile) break; // We've hit our pre-set limit + if (fLimitOffsetInFile > 0 && fCurOffsetInFile > fLimitOffsetInFile) { + // We've hit our pre-set limit within the file, and can't continue parsing. + // Throw an exception to reset the parser: + fLimitOffsetInFile = 0; + throw INTERNAL_PARSER_RESET; + } u_int8_t c = get1Byte(); ++fCurOffsetInFile; @@ -1439,7 +1457,12 @@ u_int8_t* p = result; u_int64_t i; for (i = 0; i < resultLength; ++i) { - if (fLimitOffsetInFile > 0 && fCurOffsetInFile > fLimitOffsetInFile) break; // We've hit our pre-set limit + if (fLimitOffsetInFile > 0 && fCurOffsetInFile > fLimitOffsetInFile) { + // We've hit our pre-set limit within the file, and can't continue parsing. + // Throw an exception to reset the parser: + fLimitOffsetInFile = 0; + throw INTERNAL_PARSER_RESET; + } u_int8_t c = get1Byte(); ++fCurOffsetInFile; 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 2026-11-29 16:05:37.000000000 +0100 +++ new/live/liveMedia/include/liveMedia_version.hh 2026-12-01 22:48:41.000000000 +0100 @@ -19,8 +19,8 @@ #ifndef _LIVEMEDIA_VERSION_HH #define _LIVEMEDIA_VERSION_HH -#define LIVEMEDIA_LIBRARY_VERSION_STRING "2026.11.29" -#define LIVEMEDIA_LIBRARY_VERSION_INT 1795910400 +#define LIVEMEDIA_LIBRARY_VERSION_STRING "2026.12.01" +#define LIVEMEDIA_LIBRARY_VERSION_INT 1796083200 extern char const* const liveMediaLibraryVersionStr; extern int const liveMediaLibraryVersionInt; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/live/liveMedia/include/liveMedia_versionInt.txt new/live/liveMedia/include/liveMedia_versionInt.txt --- old/live/liveMedia/include/liveMedia_versionInt.txt 2026-11-29 16:05:37.000000000 +0100 +++ new/live/liveMedia/include/liveMedia_versionInt.txt 2026-12-01 22:48:41.000000000 +0100 @@ -1 +1 @@ -1795910400 \ No newline at end of file +1796083200 \ No newline at end of file
