Hello community, here is the log from the commit of package gupnp for openSUSE:Factory checked in at 2020-08-12 10:56:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gupnp (Old) and /work/SRC/openSUSE:Factory/.gupnp.new.3399 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gupnp" Wed Aug 12 10:56:59 2020 rev:63 rq:825310 version:1.2.4 Changes: -------- --- /work/SRC/openSUSE:Factory/gupnp/gupnp.changes 2020-06-29 21:14:55.969146744 +0200 +++ /work/SRC/openSUSE:Factory/.gupnp.new.3399/gupnp.changes 2020-08-12 10:56:59.988758361 +0200 @@ -1,0 +2,7 @@ +Mon Aug 10 08:44:28 UTC 2020 - Bjørn Lie <[email protected]> + +- Update to version 1.2.4: + + Fix subscription check on V6 link-local addresses. + + Add autofree function for GUPnPServiceProxyAction. + +------------------------------------------------------------------- Old: ---- gupnp-1.2.3.tar.xz New: ---- gupnp-1.2.4.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gupnp.spec ++++++ --- /var/tmp/diff_new_pack.4obClK/_old 2020-08-12 10:57:00.500758616 +0200 +++ /var/tmp/diff_new_pack.4obClK/_new 2020-08-12 10:57:00.500758616 +0200 @@ -21,7 +21,7 @@ %define sover 1.2 Name: gupnp -Version: 1.2.3 +Version: 1.2.4 Release: 0 Summary: Implementation of the UPnP specification License: LGPL-2.0-or-later ++++++ gupnp-1.2.3.tar.xz -> gupnp-1.2.4.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gupnp-1.2.3/.clang-format new/gupnp-1.2.4/.clang-format --- old/gupnp-1.2.3/.clang-format 1970-01-01 01:00:00.000000000 +0100 +++ new/gupnp-1.2.4/.clang-format 2020-08-09 23:13:20.448699000 +0200 @@ -0,0 +1,137 @@ +--- +Language: Cpp +# BasedOnStyle: Mozilla +AccessModifierOffset: -2 +AlignAfterOpenBracket: Align +AlignConsecutiveMacros: false +AlignConsecutiveAssignments: false +AlignConsecutiveDeclarations: false +AlignEscapedNewlines: Right +AlignOperands: true +AlignTrailingComments: true +AllowAllArgumentsOnNextLine: false +AllowAllConstructorInitializersOnNextLine: true +AllowAllParametersOfDeclarationOnNextLine: false +AllowShortBlocksOnASingleLine: Never +AllowShortCaseLabelsOnASingleLine: false +AllowShortFunctionsOnASingleLine: Inline +AllowShortLambdasOnASingleLine: All +AllowShortIfStatementsOnASingleLine: Never +AllowShortLoopsOnASingleLine: false +AlwaysBreakAfterDefinitionReturnType: TopLevel +AlwaysBreakAfterReturnType: TopLevel +AlwaysBreakBeforeMultilineStrings: false +AlwaysBreakTemplateDeclarations: Yes +BinPackArguments: false +BinPackParameters: false +BraceWrapping: + AfterCaseLabel: false + AfterClass: false + AfterControlStatement: false + AfterEnum: true + AfterFunction: true + AfterNamespace: false + AfterObjCDeclaration: false + AfterStruct: false + AfterUnion: true + AfterExternBlock: true + BeforeCatch: false + BeforeElse: false + IndentBraces: false + SplitEmptyFunction: true + SplitEmptyRecord: false + SplitEmptyNamespace: true +BreakBeforeBinaryOperators: None +BreakBeforeBraces: Custom +BreakBeforeInheritanceComma: false +BreakInheritanceList: BeforeComma +BreakBeforeTernaryOperators: true +BreakConstructorInitializersBeforeComma: false +BreakConstructorInitializers: BeforeComma +BreakAfterJavaFieldAnnotations: false +BreakStringLiterals: true +ColumnLimit: 80 +CommentPragmas: '^ IWYU pragma:' +CompactNamespaces: false +ConstructorInitializerAllOnOneLineOrOnePerLine: false +ConstructorInitializerIndentWidth: 2 +ContinuationIndentWidth: 8 +Cpp11BracedListStyle: false +DeriveLineEnding: true +DerivePointerAlignment: false +DisableFormat: false +ExperimentalAutoDetectBinPacking: false +FixNamespaceComments: false +ForEachMacros: + - foreach + - Q_FOREACH + - BOOST_FOREACH +IncludeBlocks: Preserve +IncludeCategories: + - Regex: '^"(llvm|llvm-c|clang|clang-c)/' + Priority: 2 + SortPriority: 0 + - Regex: '^(<|"(gtest|gmock|isl|json)/)' + Priority: 3 + SortPriority: 0 + - Regex: '.*' + Priority: 1 + SortPriority: 0 +IncludeIsMainRegex: '(Test)?$' +IncludeIsMainSourceRegex: '' +IndentCaseLabels: false +IndentGotoLabels: false +IndentPPDirectives: None +IndentWidth: 8 +IndentWrappedFunctionNames: false +JavaScriptQuotes: Leave +JavaScriptWrapImports: true +KeepEmptyLinesAtTheStartOfBlocks: true +MacroBlockBegin: '' +MacroBlockEnd: '' +MaxEmptyLinesToKeep: 1 +NamespaceIndentation: None +ObjCBinPackProtocolList: Auto +ObjCBlockIndentWidth: 2 +ObjCSpaceAfterProperty: true +ObjCSpaceBeforeProtocolList: false +PenaltyBreakAssignment: 2 +PenaltyBreakBeforeFirstCallParameter: 19 +PenaltyBreakComment: 300 +PenaltyBreakFirstLessLess: 120 +PenaltyBreakString: 1000 +PenaltyBreakTemplateDeclaration: 10 +PenaltyExcessCharacter: 1000000 +PenaltyReturnTypeOnItsOwnLine: 200 +PointerAlignment: Right +ReflowComments: true +SortIncludes: true +SortUsingDeclarations: true +SpaceAfterCStyleCast: true +SpaceAfterLogicalNot: false +SpaceAfterTemplateKeyword: false +SpaceBeforeAssignmentOperators: true +SpaceBeforeCpp11BracedList: false +SpaceBeforeCtorInitializerColon: true +SpaceBeforeInheritanceColon: true +SpaceBeforeParens: Always +SpaceBeforeRangeBasedForLoopColon: true +SpaceInEmptyBlock: false +SpaceInEmptyParentheses: false +SpacesBeforeTrailingComments: 1 +SpacesInAngles: false +SpacesInConditionalStatement: false +SpacesInContainerLiterals: true +SpacesInCStyleCastParentheses: false +SpacesInParentheses: false +SpacesInSquareBrackets: false +SpaceBeforeSquareBrackets: false +Standard: Latest +StatementMacros: + - Q_UNUSED + - QT_REQUIRE_VERSION +TabWidth: 8 +UseCRLF: false +UseTab: Never +... + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gupnp-1.2.3/NEWS new/gupnp-1.2.4/NEWS --- old/gupnp-1.2.3/NEWS 2020-06-23 00:12:01.003525000 +0200 +++ new/gupnp-1.2.4/NEWS 2020-08-09 23:13:20.448699000 +0200 @@ -1,3 +1,11 @@ +1.2.4 +===== +- Fix subscription check on V6 link-local addresses +- Add autofree function for GUPnPServiceProxyAction + +All contributors to this release: + - Jens Georg <[email protected]> + 1.2.3 ===== - Attention: Requires GSSDP 1.2.3! diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gupnp-1.2.3/libgupnp/gupnp-service-proxy.h new/gupnp-1.2.4/libgupnp/gupnp-service-proxy.h --- old/gupnp-1.2.3/libgupnp/gupnp-service-proxy.h 2020-06-23 00:12:01.015525000 +0200 +++ new/gupnp-1.2.4/libgupnp/gupnp-service-proxy.h 2020-08-09 23:13:20.456699100 +0200 @@ -226,6 +226,9 @@ void gupnp_service_proxy_action_unref (GUPnPServiceProxyAction *action); +G_DEFINE_AUTOPTR_CLEANUP_FUNC (GUPnPServiceProxyAction, + gupnp_service_proxy_action_unref) + gboolean gupnp_service_proxy_action_get_result (GUPnPServiceProxyAction *action, GError **error, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gupnp-1.2.3/libgupnp/gupnp-service.c new/gupnp-1.2.4/libgupnp/gupnp-service.c --- old/gupnp-1.2.3/libgupnp/gupnp-service.c 2020-06-23 00:12:01.015525000 +0200 +++ new/gupnp-1.2.4/libgupnp/gupnp-service.c 2020-08-09 23:13:20.456699100 +0200 @@ -1193,7 +1193,8 @@ const char *callback) { SoupURI *local_uri = NULL; - const char *host = NULL; + char *host = NULL; + char *index = NULL; local_uri = gupnp_context_rewrite_uri_to_uri (context, callback); if (local_uri == NULL) { @@ -1201,14 +1202,20 @@ } - host = soup_uri_get_host (local_uri); + host = g_strdup (soup_uri_get_host (local_uri)); + index = g_strrstr(host, "%"); + // Cut off network index + if (index != NULL) { + *index = '\0'; + } // CVE-2020-12695: Ignore subscription call-backs that are not "in // our network segment" if (gupnp_context_ip_is_ours (context, host)) { - return g_list_append (list, local_uri); + list = g_list_append (list, local_uri); } else { g_warning ("%s is not in our network; ignoring", callback); } + g_free (host); return list; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gupnp-1.2.3/meson.build new/gupnp-1.2.4/meson.build --- old/gupnp-1.2.3/meson.build 2020-06-23 00:12:01.019525000 +0200 +++ new/gupnp-1.2.4/meson.build 2020-08-09 23:13:20.460699000 +0200 @@ -1,4 +1,4 @@ -project('gupnp', 'c', version : '1.2.3', meson_version : '>= 0.48.0') +project('gupnp', 'c', version : '1.2.4', meson_version : '>= 0.48.0') gnome = import('gnome') pkg = import('pkgconfig')
