diff mbox series

[meta-multimedia] libupnp: Upgrade 22.2.6 -> 22.3.0

Message ID 20261203075225.3404616-1-khem.raj@oss.qualcomm.com
State New
Headers show
Series [meta-multimedia] libupnp: Upgrade 22.2.6 -> 22.3.0 | expand

Commit Message

Khem Raj Dec. 3, 2026, 7:52 a.m. UTC
Security release, includes the 22.2.7 fixes:
- GHSA-qp25-6m74-phgm (22.2.7): ixmlDocument_getElementById() and
  ixmlDocument_importNode() are now iterative; a deeply nested document
  from a UPnP peer could overflow the stack.
- GHSA-8qhc-v27r-66fp: Check the XML alias under the lock that takes
  its reference, fixing a NULL dereference crash when a root device is
  (un)registered while a request is served.
- GHSA-rrvq-43fw-cpw7: Keep virtual directory requests within the HTTP
  limits. POST bodies to a virtual directory are now limited by
  UpnpSetMaxContentLength() (64000 bytes by default, 413 otherwise),
  stalled POSTs time out after 30 s, and missing optional callbacks
  give 404/405 or ignore the Range header instead of crashing.
  Note: applications accepting larger uploads must raise the limit.
- GHSA-74cf-x2mr-g9vm: Fix a leak of the state variable value in
  UpnpGetServiceVarStatusAsync().
- ixml_membuf grows geometrically, so printing large documents is no
  longer quadratic.

Add UPSTREAM_CHECK_GITTAGREGEX to match only the release-X.Y.Z tags.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 .../libupnp/{libupnp_22.2.6.bb => libupnp_22.3.0.bb}          | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
 rename meta-multimedia/recipes-connectivity/libupnp/{libupnp_22.2.6.bb => libupnp_22.3.0.bb} (96%)
diff mbox series

Patch

diff --git a/meta-multimedia/recipes-connectivity/libupnp/libupnp_22.2.6.bb b/meta-multimedia/recipes-connectivity/libupnp/libupnp_22.3.0.bb
similarity index 96%
rename from meta-multimedia/recipes-connectivity/libupnp/libupnp_22.2.6.bb
rename to meta-multimedia/recipes-connectivity/libupnp/libupnp_22.3.0.bb
index afe765fe16..b3cd49decb 100644
--- a/meta-multimedia/recipes-connectivity/libupnp/libupnp_22.2.6.bb
+++ b/meta-multimedia/recipes-connectivity/libupnp/libupnp_22.3.0.bb
@@ -8,11 +8,13 @@  HOMEPAGE = "http://pupnp.sourceforge.net/"
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://COPYING;md5=394a0f17b97f33426275571e15920434"
 
-SRCREV = "661db97c1a485c0dc2ab464b23ba5156cd9d40c0"
+SRCREV = "26e42158c6998ba11b382325a3eeb884e7b59ba8"
 SRC_URI = "git://github.com/pupnp/pupnp.git;protocol=https;branch=main;tag=release-${PV} \
            file://run-ptest \
           "
 
+UPSTREAM_CHECK_GITTAGREGEX = "release-(?P<pver>\d+(\.\d+)+)"
+
 inherit cmake pkgconfig ptest python3native
 
 EXTRA_OECMAKE = "\