From patchwork Fri Nov 27 07:01:40 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 106036 Received: from mail-pg1-f177.google.com (mail-pg1-f177.google.com [209.85.215.177]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.11784.1795762911331021718 for ; Thu, 26 Nov 2026 23:01:51 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=pZea6z5w; spf=pass (domain: gmail.com, ip: 209.85.215.177, mailfrom: raj.khem@gmail.com) Received: by mail-pg1-f177.google.com with SMTP id 41be03b00d2f7-cde4b4e936fso3734229a12.1 for ; Thu, 26 Nov 2026 23:01:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795762911; x=1796367711; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=hDuTSskvw2AfqnK0qtw3KqyVCMECIYNBYmOPmiVL95k=; b=pZea6z5wlH3NaA17TdiI+jXQdcWS5mCSfECJyhFWTw7IenBPOc60xjdWd4DAc7hrct NYAwfGeMYInLNhX888HSZ1OezeerYCoVxbfhDnqPXBN8zHSU154KbfQd2vu4tjd95Jgn /1IYUuyTHXS+cHw35x9fQNzp03zBD0g/lCbpKObdebRh6vpQp4KrWF35XB7hvd49+dlI GVIsnts+Hm3aMQ76kbcyfp4cL3sSi0zQIPA92f2ZlT0vtWyxxVMy7MF1VHomqjLS8zxt max1O5X+BZmoGI90WGwypgAryDpMWbDKhUaVL5Ef28yZmhZyxCf/iIATMt/nibP1tJTy fd9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795762911; x=1796367711; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state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YF44X54yXqBRaVXby 5VSvIT4R0gcGdBoHysDcLcl9f7dPlkDeqmMJuAa1VJbCTrp29qjAozMKgA4SLsPsaOgLdL5pl6I aYN51xEqHZy0KIM8AArTIr/JXD7FlEv3lOEVMPOZJlQlGMNXwiTEXexgwjBlKuqia6Y5FF0qMZ+ EkIN5v4u2C4mdkfde4aJon5r74FHuaqmTT8uw8CqGdZeTVix7UrQ6/SX6+nRg2V3j2keVAheoVF nnrC6urW/1x2fshFvD7eOUx6FLeQjRxdIqAStQr1GIlcNDURizayaN47bQSIn0ZIR0TO6vyaHTf MoRuVBd+gk8HB7CQTFzN6RFAPsjHTaRFQJlf9TcOaBMI9xTHQlimmT00xkNELX5PimhHLRKxh7Y hUo0EQ== X-Received: by 2002:a17:90b:2f8f:b0:3a0:d82b:237b with SMTP id 98e67ed59e1d1-3b41c938926mr14814138a91.25.1795762910512; Thu, 26 Nov 2026 23:01:50 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3b4efb59622sm6385312a91.4.2026.11.26.23.01.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Nov 2026 23:01:50 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-multimedia][PATCH 1/6] fswebcam: Fetch from codeberg Date: Thu, 26 Nov 2026 23:01:40 -0800 Message-ID: <20261127070145.2286713-2-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261127070145.2286713-1-khem.raj@oss.qualcomm.com> References: <20261127070145.2286713-1-khem.raj@oss.qualcomm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 27 Nov 2026 07:01:59 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133321 The GitHub repository was replaced by a single commit pointing to codeberg.org/fsphil/fswebcam, so its master branch and tags no longer hold the recipe's SRCREV and a fetch without a mirror fails. Codeberg has the same 20200725 tag. Add an UPSTREAM_CHECK_GITTAGREGEX for the date tags. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- .../recipes-multimedia/fswebcam/fswebcam_20200725.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta-multimedia/recipes-multimedia/fswebcam/fswebcam_20200725.bb b/meta-multimedia/recipes-multimedia/fswebcam/fswebcam_20200725.bb index bc4f324da5..fa0f5c3f23 100644 --- a/meta-multimedia/recipes-multimedia/fswebcam/fswebcam_20200725.bb +++ b/meta-multimedia/recipes-multimedia/fswebcam/fswebcam_20200725.bb @@ -15,9 +15,11 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=393a5ca445f6965873eca0259a17f833" DEPENDS = "gd" -SRC_URI = "git://github.com/fsphil/fswebcam.git;protocol=https;branch=master;tag=${PV}" +SRC_URI = "git://codeberg.org/fsphil/fswebcam.git;protocol=https;branch=master;tag=${PV}" SRCREV = "db35d4bbd336885a44f017ff142bc9523dbdce3c" +UPSTREAM_CHECK_GITTAGREGEX = "^(?P\d+)$" + # Compile gd with PACKAGECONFIG fontconfig for easier font selection RRECOMMENDS:${PN} = "ttf-dejavu-sans" From patchwork Fri Nov 27 07:01:41 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 106032 Received: from mail-pj1-f47.google.com (mail-pj1-f47.google.com [209.85.216.47]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.11775.1795762912921846337 for ; Thu, 26 Nov 2026 23:01:52 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=cTERpEZg; spf=pass (domain: gmail.com, ip: 209.85.216.47, mailfrom: raj.khem@gmail.com) Received: by mail-pj1-f47.google.com with SMTP id 98e67ed59e1d1-3b09a83d12aso5442035a91.2 for ; Thu, 26 Nov 2026 23:01:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795762912; x=1796367712; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=4A50gB4pRr4StEOX1Lk9ycqN3jNwCLq9anbzFHXPS7c=; b=cTERpEZg7bwspPSE1k700OISnecN7Pbzr7z/X7lo2G3FeHej12EdMeXZ+6JtZJt8v7 4Y41KRoZW0TJF5eEhQSNHelsKZmEkXz51ZsWz3A0qboI2QTYwLOJj6vzOP6NGQh1KpTI gPulIklEI5GrWq50QA9ANOSQF/1ykdNa0WrylFohoMjxVECYtevu0DMiTnMBLjT0pT5J jumecZIGxTacHa419Q9z4cYoy1kk5PsJW9g0YRUthKQP/araDpKvIVW+SB3ZWyI2YIyB kMM28sEG+8NIW6VeSdO0N/CoG7n+l47KbZCtn395Y3o6+UnyJGKa9io+EnSA0boOZyIh K7dw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795762912; x=1796367712; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=4A50gB4pRr4StEOX1Lk9ycqN3jNwCLq9anbzFHXPS7c=; b=yU2EAZ25XapAnmqEboBVreu3tZLz2IfpAcdQp5p5oPhZvDq+jCPsv0DdIc+lWfoxef oNkCu76YHNd6R3WCxYmyj4muezasBFDkw1+x2WhKUQaiJgscul9ib4KC9E5OTKtVhdaw B2UIAY/1xlOytY9sDLwdRDvE1MqmeF9UNQ49JygJG92g0+bE9Pj6ej2YqrRJ8hilomsX ep/NrwTHC6AvTylWZO7Qx8Nlehf+50K5oR9VFF5v2H1z2yJwAEktaWzogc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wzo+l/2Gr7QXLjyjFK41mps4YItS2eFX8B3AwOsSHxvji9tUS7zk8mi bw0jIORtrJNMYGiJnEw/4ANwUg== X-Received: by 2002:a17:90b:17cd:b0:3ab:3384:1a44 with SMTP id 98e67ed59e1d1-3b41c8fed6cmr22158428a91.12.1795762912233; Thu, 26 Nov 2026 23:01:52 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3b4efb59622sm6385312a91.4.2026.11.26.23.01.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Nov 2026 23:01:51 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-multimedia][PATCH 2/6] gstd: Use PE instead of 1.0+really in PV Date: Thu, 26 Nov 2026 23:01:41 -0800 Message-ID: <20261127070145.2286713-3-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261127070145.2286713-1-khem.raj@oss.qualcomm.com> References: <20261127070145.2286713-1-khem.raj@oss.qualcomm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 27 Nov 2026 07:01:59 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133322 The upstream check compared 1.0+really0.16.0 with the v0.16.0 tag and reported UNKNOWN_BROKEN. Set PE = "1" and PV = "0.16.0", fetch tag=v${PV} and add an UPSTREAM_CHECK_GITTAGREGEX. Also drop the stray git@ from the https URL. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- .../recipes-multimedia/gstreamer-1.0/gstd_git.bb | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd_git.bb b/meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd_git.bb index 0b79f5be4d..e9e4c90f49 100644 --- a/meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd_git.bb +++ b/meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd_git.bb @@ -9,11 +9,14 @@ DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad gstre SRCBRANCH ?= "master" SRCREV = "d3e1daefb999c3ba0f4fcc4744b53aab2aaa5f2d" -SRC_URI = "git://git@github.com/RidgeRun/gstd-1.x.git;protocol=https;branch=${SRCBRANCH} \ +SRC_URI = "git://github.com/RidgeRun/gstd-1.x.git;protocol=https;branch=${SRCBRANCH};tag=v${PV} \ file://0001-gstd-Remove-redundant-rpaths.patch" -# Remove the +really when upstream version is > 1.0 -PV = "1.0+really0.16.0" +# PV used to be 1.0+really0.16.0 +PE = "1" +PV = "0.16.0" + +UPSTREAM_CHECK_GITTAGREGEX = "^v(?P\d+(\.\d+)+)$" GTKDOC_MESON_OPTION = "enable-gtk-doc" From patchwork Fri Nov 27 07:01:42 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 106033 Received: from mail-pl1-f177.google.com (mail-pl1-f177.google.com [209.85.214.177]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.11776.1795762915063745179 for ; Thu, 26 Nov 2026 23:01:55 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=W2UNpZFe; spf=pass (domain: gmail.com, ip: 209.85.214.177, mailfrom: raj.khem@gmail.com) Received: by mail-pl1-f177.google.com with SMTP id d9443c01a7336-2f02ee04378so60623195ad.1 for ; Thu, 26 Nov 2026 23:01:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795762914; x=1796367714; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=RAI8Pc4pBkHHjMw1bC1wFAEQnlwwV64fVR5CQ8oB/zo=; b=W2UNpZFezeVNBhDwBX6wGptSDJbEUHp3HV0De998JZPFyJPBWRdhoswfs6i4G4owi4 7eK2w6ep4Wm+9jSkPipjRYUB/4ZofHH4r1HZAjuyYpat+QfL1aiKZmhkMlRTbQqjh+cl +h9gjqEHefzVet2yMNji5WTby3eOnb9mHDaHio+Dg7Aitx++J1ZCKhzmUnZDVcHSKc9U zrZ0bi4ITAholLi5oWjkvw6O4wKEI547VLxocPO65Bcc0zeIo6gwSMzjXgwQTFLeMMDj FO/xjiiK+9KU0CprblY9X0Td6bspNTuitpT3VbAKVfM8Tc/GT8SCBoUJ0emG5Nefuku/ VbxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795762914; x=1796367714; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=RAI8Pc4pBkHHjMw1bC1wFAEQnlwwV64fVR5CQ8oB/zo=; b=vrXIIuowyD5CxES1lP/mjMfnJffvhS7UaM3Nq2+D4AOlUztgYZczLS0avB7A4BP85c RRAtV46HSaus+l+G9mDGfbkA6hBYOplZtVCgsshhxB1Kpz2IH06YAwAED2LSgMF3YUG8 taL3tGmRtYqe2Xa6aH4sSFIBeUi/JJyZNdOZZvcx7VYXcru2Yvy9dxw+xjXfW8J2MZO/ 9OGOpnL/Dc/d9lAEsErwuYdNPmXM2/JnEBF5iBIFLfW0/ltETxkRmbyxxSz9eh+WPzCQ glIdU+IHLXiJZXJDWuHO2+t1ul70HAQ2qdRjVT2QQ83Cu++QO6orbujYZH88Lrtb86zr gvEA== X-Gm-Message-State: APuU4Z/ioi5Olx0rRMMfCXPwPmIWDu7DutliIC/LajIJR1m5r3L7mqCO AaeQ9Dp2pKE+fKyPDJtQKI2Te1xsPW6qGTMqRBFtda8MesvUFb0aBXgIPeuouoLE X-Gm-Gg: AZFdTZceyNVhIMJSBSTLCPNWoLcjstvfJZIh6kYGLVn2PTH60X4WTpnvYaTms46MG5+ G9qgDX91yS9Zci3KP5q/+OrxKNbKEuv3Z4fdDklitzpktPfhC5Jbpk2yKAAKMML7lJTjzk41oer oz1XphAbvhiqTOgbpFugIk0unYRZskhhX3xQslcCLp7P3C3L8BwSR3EsquSTRF3c7BDU+5s/Ffy d7omouJ583kB4RM1460NM/2b3NQt5RnBELqHDceWr34PjRWVNJnb4eUw7C6vfS3BjKKbnS/eyve 9Jhk2LM2laoy33vJ6/SURwajkDBSlAcXSar8xpCQINK2/GC2TbhIaQpNC/pnn/M3q4D/Lacv5C8 7O/+fIh391Ww8hLWMB/811C9gBKnGd+keSiX3qGxGYxZL+qZsSGlvzrOUn0ZGEoCR+4Kf5L9w4d q0OiMneCs9UmPtIBlSlToWIhGyUjmysOBcMLE4oaYSuwL6hBKjsDDnaldfxjQ65dLdhYupVjAt3 TLtY/zsPOwznPNvnlE+nFNcNCJKeX1PGNonopp79KUQSrrHXFvh0GRrClqQ0je2OBlyKTgaM7s/ 2YGKwIPR/4ZdShzPgW2PO5oW8zREIQp05P3w2cu1tagCFDg5PP878NgHeRneIgY0RRjHUxNpqRm srkexlCgNGCFkfFxIXpl8ajQj1G7YVpTrj/CglA59AvoEce3YJmfyuw++ybNB9EcZpoJHq8ySVf uu8EVE4fPLY6Ob2VhegZCKT/HfXsxW3o2/yNvXE4UhY11S4kpFjfvtvjnYGYioUq/JM3f/a7H2V rcmV7IvoJmr9DCJxaXTw+4l4CwTRfn+p3W4RTikut5nNQoJjgXZJKsXat6rb3OPzuF2O/bnsN3G 1UrL X-Received: by 2002:a17:90b:268a:b0:3ac:7c52:fae5 with SMTP id 98e67ed59e1d1-3b41c9778e9mr22396248a91.50.1795762914088; Thu, 26 Nov 2026 23:01:54 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3b4efb59622sm6385312a91.4.2026.11.26.23.01.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Nov 2026 23:01:53 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-multimedia][PATCH 3/6] fluidsynth: upgrade 2.6.2 -> 2.6.3 Date: Thu, 26 Nov 2026 23:01:42 -0800 Message-ID: <20261127070145.2286713-4-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261127070145.2286713-1-khem.raj@oss.qualcomm.com> References: <20261127070145.2286713-1-khem.raj@oss.qualcomm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 27 Nov 2026 07:01:59 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133323 - Fix FPE and SEGV in rvoice DSP interpolation; stop fluid_clip from passing NaNs through - Ignore SoundFont modulators with out-of-range/linked destinations - Fix several memory leaks and a stack use-after-scope in the channelsmode shell command - Fix MIDI sostenuto/CC66 handling, LFO direction on frequency update, finished voice lookup after reducing polyphony, RTKit fallback - Compile the rvoice mixer as C++ and use std atomics for its work scheduling; OpenMP detection now requires the C++ component Recipe: the ARM NEON mixer patch is ported to fluid_rvoice_mixer.cpp since the file was renamed from .c upstream (static_cast added for the now C++ code). Add UPSTREAM_CHECK_GITTAGREGEX for release tags only. SRCREVs of the bundled dependencies are unchanged upstream. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- ...elaration-for-float-multithreaded-se.patch | 56 +++++++++---------- ...luidsynth_2.6.2.bb => fluidsynth_2.6.3.bb} | 3 +- 2 files changed, 29 insertions(+), 30 deletions(-) rename meta-multimedia/recipes-multimedia/fluidsynth/{fluidsynth_2.6.2.bb => fluidsynth_2.6.3.bb} (96%) diff --git a/meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth/0003-Use-ARM-NEON-accelaration-for-float-multithreaded-se.patch b/meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth/0003-Use-ARM-NEON-accelaration-for-float-multithreaded-se.patch index ead099545d..f025027510 100644 --- a/meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth/0003-Use-ARM-NEON-accelaration-for-float-multithreaded-se.patch +++ b/meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth/0003-Use-ARM-NEON-accelaration-for-float-multithreaded-se.patch @@ -193,24 +193,24 @@ fluidsynth: synth_one_block:all voices>: 97.000/103.681/251.000 Upstream-Status: Inappropriate [embedded-specific] --- - src/rvoice/fluid_rvoice_mixer.c | 55 ++++++++++++++++++++++++++++++++- - 1 file changed, 54 insertions(+), 1 deletion(-) + src/rvoice/fluid_rvoice_mixer.cpp | 55 ++++++++++++++++++++++++++++++++- + 1 file changed, 55 insertions(+), 0 deletions(-) -diff --git a/src/rvoice/fluid_rvoice_mixer.c b/src/rvoice/fluid_rvoice_mixer.c -index af0ef75d..07a357c7 100644 ---- a/src/rvoice/fluid_rvoice_mixer.c -+++ b/src/rvoice/fluid_rvoice_mixer.c -@@ -27,6 +27,9 @@ +diff --git a/src/rvoice/fluid_rvoice_mixer.cpp b/src/rvoice/fluid_rvoice_mixer.cpp +--- a/src/rvoice/fluid_rvoice_mixer.cpp ++++ b/src/rvoice/fluid_rvoice_mixer.cpp +@@ -26,6 +26,10 @@ #include "fluid_ladspa.h" #include "fluid_synth.h" +#if defined(__ARM_NEON__) +#include "arm_neon.h" +#endif ++ + #include + #include - // If less than x voices, the thread overhead is larger than the gain, - // so don't activate the thread(s). -@@ -1053,9 +1056,15 @@ fluid_mixer_buffers_mix(fluid_mixer_buffers_t *dst, fluid_mixer_buffers_t *src, +@@ -1454,8 +1458,15 @@ int i, j; int scount = current_blockcount * FLUID_BUFSIZE; int minbuf; @@ -222,20 +222,19 @@ index af0ef75d..07a357c7 100644 +#else fluid_real_t *FLUID_RESTRICT base_src; fluid_real_t *FLUID_RESTRICT base_dst; -- +#endif + minbuf = dst->buf_count; - if(minbuf > src->buf_count) -@@ -1063,6 +1072,27 @@ fluid_mixer_buffers_mix(fluid_mixer_buffers_t *dst, fluid_mixer_buffers_t *src, +@@ -1464,6 +1475,27 @@ minbuf = src->buf_count; } +#if defined(__ARM_NEON__) && defined(WITH_FLOAT) -+ base_src_left = fluid_align_ptr(src->left_buf, FLUID_DEFAULT_ALIGNMENT); -+ base_dst_left = fluid_align_ptr(dst->left_buf, FLUID_DEFAULT_ALIGNMENT); -+ base_src_right = fluid_align_ptr(src->right_buf, FLUID_DEFAULT_ALIGNMENT); -+ base_dst_right = fluid_align_ptr(dst->right_buf, FLUID_DEFAULT_ALIGNMENT); ++ base_src_left = static_cast(fluid_align_ptr(src->left_buf, FLUID_DEFAULT_ALIGNMENT)); ++ base_dst_left = static_cast(fluid_align_ptr(dst->left_buf, FLUID_DEFAULT_ALIGNMENT)); ++ base_src_right = static_cast(fluid_align_ptr(src->right_buf, FLUID_DEFAULT_ALIGNMENT)); ++ base_dst_right = static_cast(fluid_align_ptr(dst->right_buf, FLUID_DEFAULT_ALIGNMENT)); + + for(i = 0; i < minbuf; i++) + { @@ -252,10 +251,10 @@ index af0ef75d..07a357c7 100644 + } + } +#else - base_src = fluid_align_ptr(src->left_buf, FLUID_DEFAULT_ALIGNMENT); - base_dst = fluid_align_ptr(dst->left_buf, FLUID_DEFAULT_ALIGNMENT); + base_src = static_cast(fluid_align_ptr(src->left_buf, FLUID_DEFAULT_ALIGNMENT)); + base_dst = static_cast(fluid_align_ptr(dst->left_buf, FLUID_DEFAULT_ALIGNMENT)); -@@ -1090,6 +1120,7 @@ fluid_mixer_buffers_mix(fluid_mixer_buffers_t *dst, fluid_mixer_buffers_t *src, +@@ -1491,6 +1523,7 @@ base_dst[dsp_i] += base_src[dsp_i]; } } @@ -263,15 +262,15 @@ index af0ef75d..07a357c7 100644 minbuf = dst->fx_buf_count; -@@ -1098,6 +1129,27 @@ fluid_mixer_buffers_mix(fluid_mixer_buffers_t *dst, fluid_mixer_buffers_t *src, +@@ -1499,6 +1532,27 @@ minbuf = src->fx_buf_count; } +#if defined(__ARM_NEON__) && defined(WITH_FLOAT) -+ base_src_left = fluid_align_ptr(src->fx_left_buf, FLUID_DEFAULT_ALIGNMENT); -+ base_dst_left = fluid_align_ptr(dst->fx_left_buf, FLUID_DEFAULT_ALIGNMENT); -+ base_src_right = fluid_align_ptr(src->fx_right_buf, FLUID_DEFAULT_ALIGNMENT); -+ base_dst_right = fluid_align_ptr(dst->fx_right_buf, FLUID_DEFAULT_ALIGNMENT); ++ base_src_left = static_cast(fluid_align_ptr(src->fx_left_buf, FLUID_DEFAULT_ALIGNMENT)); ++ base_dst_left = static_cast(fluid_align_ptr(dst->fx_left_buf, FLUID_DEFAULT_ALIGNMENT)); ++ base_src_right = static_cast(fluid_align_ptr(src->fx_right_buf, FLUID_DEFAULT_ALIGNMENT)); ++ base_dst_right = static_cast(fluid_align_ptr(dst->fx_right_buf, FLUID_DEFAULT_ALIGNMENT)); + + for(i = 0; i < minbuf; i++) + { @@ -288,10 +287,10 @@ index af0ef75d..07a357c7 100644 + } + } +#else - base_src = fluid_align_ptr(src->fx_left_buf, FLUID_DEFAULT_ALIGNMENT); - base_dst = fluid_align_ptr(dst->fx_left_buf, FLUID_DEFAULT_ALIGNMENT); + base_src = static_cast(fluid_align_ptr(src->fx_left_buf, FLUID_DEFAULT_ALIGNMENT)); + base_dst = static_cast(fluid_align_ptr(dst->fx_left_buf, FLUID_DEFAULT_ALIGNMENT)); -@@ -1125,6 +1177,7 @@ fluid_mixer_buffers_mix(fluid_mixer_buffers_t *dst, fluid_mixer_buffers_t *src, +@@ -1526,6 +1580,7 @@ base_dst[dsp_i] += base_src[dsp_i]; } } @@ -301,4 +300,3 @@ index af0ef75d..07a357c7 100644 -- 2.20.1 - diff --git a/meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth_2.6.2.bb b/meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth_2.6.3.bb similarity index 96% rename from meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth_2.6.2.bb rename to meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth_2.6.3.bb index 03d40eaaae..12c48b9ad2 100644 --- a/meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth_2.6.2.bb +++ b/meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth_2.6.3.bb @@ -21,7 +21,8 @@ SRC_URI = " \ file://0003-Use-ARM-NEON-accelaration-for-float-multithreaded-se.patch \ " SRCREV_FORMAT = "fluidsynth" -SRCREV_fluidsynth = "c3b244ddfd094489a5490beee013c621a504adf2" +UPSTREAM_CHECK_GITTAGREGEX = "^v(?P\d+(\.\d+)+)$" +SRCREV_fluidsynth = "cd8b576ae6d33b805378356e5b33ec9f9c5b2e1b" SRCREV_gcem = "012ae73c6d0a2cb09ffe86475f5c6fba3926e200" SRCREV_signalsmith-audio-basics = "012d2be17b0eb6839628f8c73687c4ccccc1bb01" SRCREV_signalsmith-linear = "5668673560146a9cfe38c25315071e3fd68c8317" From patchwork Fri Nov 27 07:01:43 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 106034 Received: from mail-pj1-f43.google.com (mail-pj1-f43.google.com [209.85.216.43]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.11785.1795762916910345663 for ; Thu, 26 Nov 2026 23:01:57 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=KEDGE7oo; spf=pass (domain: gmail.com, ip: 209.85.216.43, mailfrom: raj.khem@gmail.com) Received: by mail-pj1-f43.google.com with SMTP id 98e67ed59e1d1-3b405d8f1cfso3827700a91.3 for ; Thu, 26 Nov 2026 23:01:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795762916; x=1796367716; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=RNs383siFElpQGhMk367xPg1fiahaEIvSp7fkzRQEuw=; b=KEDGE7oo763TtSiTPADxqvVba3I+OXMu4o6dEYMJvNFRRv0k3poHpen+nF5Gmx/mBx N8JeqNBIDTzLkAULOuuYkDuOKBDVKqYeqyH6xEjaJuJ3+a4G7hDbwklnFGK7aGn691Zm mfgaISu9VkNdpE4LjoAlsb8V0Sp86E4NZzWphqs5DhCW40OlQJGyX5mmzy7t820QZ78l L8XwcSe8FDjSmne1OLRUpslNvat2WtsbDPPUDl6XBa+FrmUvABgAZnOHKZvbQTBobO9D F9EWgCQ7ZAhXuuBZd13k3JG7Vqwvk83XqV5i+xwvuBChSgmsExxQwUtdpaMqDPqRd8D7 uVfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795762916; x=1796367716; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=RNs383siFElpQGhMk367xPg1fiahaEIvSp7fkzRQEuw=; b=yzjcdISNS4kGPTqQvZK7gxn3umCMiGmVKl7OFlzZK2X2qffHANzxBi2ZwZYCOyIERh c1Ub4+Om0UBi5HhtxILoJxss5OS4N/EqKLU59I37SzFfiD7jF1/LRLWcc7OVvT8Ey3Nq tYN9DFQckzA0qMn7NVgtDNoptWYrEDLX1aCK0TLQdpvEy2/I9PXhqGHsA7R1I1fnGCEb 8uUfl4tV6O+3uB4IS23EgEQs4SHZPS2heZvIEAQhqBshNjFXJHCfGveyObM9aiClea7P teVVOTPB8sHY9lG+xmFDt7Ky8CUZXgn5SojfSpGwcdJ6g3zE70emnpU/vg1GPJhrqJhd LymQ== X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id 98e67ed59e1d1-3b41c57565emr23761192a91.0.1795762915379; Thu, 26 Nov 2026 23:01:55 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3b4efb59622sm6385312a91.4.2026.11.26.23.01.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Nov 2026 23:01:54 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-multimedia][PATCH 4/6] pjproject: upgrade 2.17 -> 2.18 Date: Thu, 26 Nov 2026 23:01:43 -0800 Message-ID: <20261127070145.2286713-5-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261127070145.2286713-1-khem.raj@oss.qualcomm.com> References: <20261127070145.2286713-1-khem.raj@oss.qualcomm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 27 Nov 2026 07:01:59 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133324 - TLS: OCSP stapling, TLS 1.3 session resumption, Mbed TLS 4.x support and TURN TLS server certificate verification - Signaling-only B2BUA / third-party call control with app-supplied SDP - CMake as a full build system (Linux, Mac, iOS, Android, MSVC) - Fixes 49 security issues, including all CVEs previously patched here - Incompatible: DTLS-SRTP self-signed cert now uses an EC P-256 key (define PJMEDIA_SRTP_DTLS_USE_EC_KEY 0 for RSA); SSL cert serial_no is right-aligned with zero padding; pj_ssl_cert_load_direct() now takes its own references; VS2005/eVC4/VC6 projects removed. Recipe: drop the OpenSSL 4.0 compatibility patch and the nine CVE backports (CVE-2026-57160 .. 57166, CVE-2026-77396, CVE-2026-84975), all of which are contained in 2.18. Add UPSTREAM_CHECK_GITTAGREGEX so only release tags are seen. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- ...k_ossl-fix-OpenSSL-4.0-compatibility.patch | 40 --- .../pjproject/pjproject/CVE-2026-57160.patch | 42 ---- .../pjproject/pjproject/CVE-2026-57161.patch | 49 ---- .../pjproject/pjproject/CVE-2026-57162.patch | 43 ---- .../pjproject/pjproject/CVE-2026-57163.patch | 52 ---- .../pjproject/pjproject/CVE-2026-57164.patch | 66 ----- .../pjproject/pjproject/CVE-2026-57165.patch | 85 ------- .../pjproject/pjproject/CVE-2026-57166.patch | 228 ------------------ .../pjproject/pjproject/CVE-2026-77396.patch | 74 ------ .../pjproject/pjproject/CVE-2026-84975.patch | 87 ------- .../{pjproject_2.17.bb => pjproject_2.18.bb} | 16 +- 11 files changed, 3 insertions(+), 779 deletions(-) delete mode 100644 meta-multimedia/recipes-multimedia/pjproject/pjproject/0001-ssl_sock_ossl-fix-OpenSSL-4.0-compatibility.patch delete mode 100644 meta-multimedia/recipes-multimedia/pjproject/pjproject/CVE-2026-57160.patch delete mode 100644 meta-multimedia/recipes-multimedia/pjproject/pjproject/CVE-2026-57161.patch delete mode 100644 meta-multimedia/recipes-multimedia/pjproject/pjproject/CVE-2026-57162.patch delete mode 100644 meta-multimedia/recipes-multimedia/pjproject/pjproject/CVE-2026-57163.patch delete mode 100644 meta-multimedia/recipes-multimedia/pjproject/pjproject/CVE-2026-57164.patch delete mode 100644 meta-multimedia/recipes-multimedia/pjproject/pjproject/CVE-2026-57165.patch delete mode 100644 meta-multimedia/recipes-multimedia/pjproject/pjproject/CVE-2026-57166.patch delete mode 100644 meta-multimedia/recipes-multimedia/pjproject/pjproject/CVE-2026-77396.patch delete mode 100644 meta-multimedia/recipes-multimedia/pjproject/pjproject/CVE-2026-84975.patch rename meta-multimedia/recipes-multimedia/pjproject/{pjproject_2.17.bb => pjproject_2.18.bb} (90%) diff --git a/meta-multimedia/recipes-multimedia/pjproject/pjproject/0001-ssl_sock_ossl-fix-OpenSSL-4.0-compatibility.patch b/meta-multimedia/recipes-multimedia/pjproject/pjproject/0001-ssl_sock_ossl-fix-OpenSSL-4.0-compatibility.patch deleted file mode 100644 index 938eb6620f..0000000000 --- a/meta-multimedia/recipes-multimedia/pjproject/pjproject/0001-ssl_sock_ossl-fix-OpenSSL-4.0-compatibility.patch +++ /dev/null @@ -1,40 +0,0 @@ -From 3923fad2e4f6f3403c3d6f1176b113c1c1b91066 Mon Sep 17 00:00:00 2001 -From: Ravi Kant Sharma -Date: Wed, 24 Jun 2026 11:30:40 +0200 -Subject: [PATCH] ssl_sock_ossl: fix OpenSSL 4.0 compatibility (#5036) - -Upstream-Status: Backport [https://github.com/pjsip/pjproject/commit/3923fad2e4f6] -Signed-off-by: Jaipaul Cheernam ---- - pjlib/src/pj/ssl_sock_ossl.c | 11 ++++------- - 1 file changed, 4 insertions(+), 7 deletions(-) - -diff --git a/pjlib/src/pj/ssl_sock_ossl.c b/pjlib/src/pj/ssl_sock_ossl.c -index 000aabad61..93fcf10f14 100644 ---- a/pjlib/src/pj/ssl_sock_ossl.c -+++ b/pjlib/src/pj/ssl_sock_ossl.c -@@ -1645,10 +1645,7 @@ static pj_status_t init_ossl_ctx(pj_ssl_sock_t *ssock) - if (PEM_read_bio_X509(new_bio, &x, NULL, NULL) == NULL) - break; - -- if ((xn = X509_get_subject_name(x)) == NULL) -- break; -- -- if ((xn = X509_NAME_dup(xn)) == NULL ) -+ if ((xn = X509_NAME_dup(X509_get_subject_name(x))) == NULL ) - break; - - #if !USING_BORINGSSL -@@ -2105,9 +2102,9 @@ static pj_bool_t parse_ossl_asn1_time(pj_time_val *tv, pj_bool_t *gmt, - pj_parsed_time pt; - int i; - -- utc = tm->type == V_ASN1_UTCTIME; -- p = (char*)tm->data; -- len = tm->length; -+ utc = ASN1_STRING_type(tm) == V_ASN1_UTCTIME; -+ p = (char*)M_ASN1_STRING_data(tm); -+ len = M_ASN1_STRING_length(tm); - end = p + len - 1; - - /* GMT */ diff --git a/meta-multimedia/recipes-multimedia/pjproject/pjproject/CVE-2026-57160.patch b/meta-multimedia/recipes-multimedia/pjproject/pjproject/CVE-2026-57160.patch deleted file mode 100644 index a25ed5a28e..0000000000 --- a/meta-multimedia/recipes-multimedia/pjproject/pjproject/CVE-2026-57160.patch +++ /dev/null @@ -1,42 +0,0 @@ -From b14ebbccf5c228ca298ad11ecae2cedde792edae Mon Sep 17 00:00:00 2001 -From: Nanang Izzuddin -Date: Wed, 17 Jun 2026 15:43:46 +0700 -Subject: [PATCH] Merge commit from fork - -When printing a generic array header (e.g. Allow, Require, Supported, -Unsupported), the ": " delimiter following the header name was written -with two unchecked stores. copy_advance() only guarantees that the -header name itself fits, leaving as little as one byte before the end -of the buffer. The colon then consumed the last byte and the trailing -space was written one byte past the buffer end. - -Use copy_advance_char_check() for both delimiter bytes, matching the -boundary-checked pattern already used by every other header printer in -this file. - -Co-Authored-By Claude Code - -(cherry picked from commit d6a0e7f76611c3a6f530ee051e3e7a622bb1748c) - -CVE: CVE-2026-57160 -Upstream-Status: Backport [https://github.com/pjsip/pjproject/commit/d6a0e7f76611c3a6f530ee051e3e7a622bb1748c] -Signed-off-by: Ankur Tyagi ---- - pjsip/src/pjsip/sip_msg.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/pjsip/src/pjsip/sip_msg.c b/pjsip/src/pjsip/sip_msg.c -index 06c8cce86..cdc99ff9e 100644 ---- a/pjsip/src/pjsip/sip_msg.c -+++ b/pjsip/src/pjsip/sip_msg.c -@@ -964,8 +964,8 @@ static int pjsip_generic_array_hdr_print( pjsip_generic_array_hdr *hdr, - &hdr->sname : &hdr->name; - - copy_advance(p, (*hname)); -- *p++ = ':'; -- *p++ = ' '; -+ copy_advance_char_check(p, ':'); -+ copy_advance_char_check(p, ' '); - - if (hdr->count > 0) { - unsigned i; diff --git a/meta-multimedia/recipes-multimedia/pjproject/pjproject/CVE-2026-57161.patch b/meta-multimedia/recipes-multimedia/pjproject/pjproject/CVE-2026-57161.patch deleted file mode 100644 index 3296013efd..0000000000 --- a/meta-multimedia/recipes-multimedia/pjproject/pjproject/CVE-2026-57161.patch +++ /dev/null @@ -1,49 +0,0 @@ -From 656cd5ec76f0178448053a9ca44ce075cd7a27f9 Mon Sep 17 00:00:00 2001 -From: Nanang Izzuddin -Date: Wed, 17 Jun 2026 15:44:40 +0700 -Subject: [PATCH] Merge commit from fork - -Bound the number of Service-Route URIs stored in the fixed-size uri[] -array by checking uri_cnt against PJ_ARRAY_SIZE(uri) before each write. -Previously the count was only checked as the do/while continuation -condition, which does not catch accumulation across multiple -single-URI Service-Route headers, allowing a registrar response with -more than PJSUA_ACC_MAX_PROXIES headers to write past the array. - -Co-Authored-By Claude Code - -(cherry picked from commit acc03b57cef7a7d31b8e1f5b9117437d7e87c591) - -CVE: CVE-2026-57161 -Upstream-Status: Backport [https://github.com/pjsip/pjproject/commit/acc03b57cef7a7d31b8e1f5b9117437d7e87c591] - -Signed-off-by: Ankur Tyagi ---- - pjsip/src/pjsua-lib/pjsua_acc.c | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -diff --git a/pjsip/src/pjsua-lib/pjsua_acc.c b/pjsip/src/pjsua-lib/pjsua_acc.c -index f52518a2a..08c5efced 100644 ---- a/pjsip/src/pjsua-lib/pjsua_acc.c -+++ b/pjsip/src/pjsua-lib/pjsua_acc.c -@@ -2278,14 +2278,14 @@ static void update_service_route(pjsua_acc *acc, pjsip_rx_data *rdata) - return; - } - -+ if (uri_cnt >= PJ_ARRAY_SIZE(uri)) { -+ PJ_LOG(1,(THIS_FILE, "Error: too many Service-Route headers")); -+ return; -+ } -+ - uri[uri_cnt++] = h->name_addr.uri; - h = h->next; -- } while (h != hr && uri_cnt != PJ_ARRAY_SIZE(uri)); -- -- if (h != hr) { -- PJ_LOG(1,(THIS_FILE, "Error: too many Service-Route headers")); -- return; -- } -+ } while (h != hr); - - /* Prepare to find next Service-Route header */ - hsr = hsr->next; diff --git a/meta-multimedia/recipes-multimedia/pjproject/pjproject/CVE-2026-57162.patch b/meta-multimedia/recipes-multimedia/pjproject/pjproject/CVE-2026-57162.patch deleted file mode 100644 index 85a9394e25..0000000000 --- a/meta-multimedia/recipes-multimedia/pjproject/pjproject/CVE-2026-57162.patch +++ /dev/null @@ -1,43 +0,0 @@ -From 1b64bfb240731bbf0fc194dec68bb9d9b08a20b2 Mon Sep 17 00:00:00 2001 -From: Nanang Izzuddin -Date: Wed, 17 Jun 2026 15:45:33 +0700 -Subject: [PATCH] Merge commit from fork - -sdes_encode_sdp() in transport_srtp_sdes.c wrote each parsed crypto tag -into the fixed int tags[64] array without bounding the count, while the -SDP parser allows up to PJMEDIA_MAX_SDP_ATTR (68) attributes. Reject -the SDP with PJMEDIA_SRTP_ESDPINCRYPTO once the array capacity is -reached, before the out-of-bounds write. - -Co-Authored-By Claude Code - -(cherry picked from commit a1b707c0c9b0506faf2a8a438b60f11ffd6a6fd9) - -CVE: CVE-2026-57162 -Upstream-Status: Backport [https://github.com/pjsip/pjproject/commit/a1b707c0c9b0506faf2a8a438b60f11ffd6a6fd9] - -Signed-off-by: Ankur Tyagi ---- - pjmedia/src/pjmedia/transport_srtp_sdes.c | 9 +++++++++ - 1 file changed, 9 insertions(+) - -diff --git a/pjmedia/src/pjmedia/transport_srtp_sdes.c b/pjmedia/src/pjmedia/transport_srtp_sdes.c -index 8f98292ba..45038e585 100644 ---- a/pjmedia/src/pjmedia/transport_srtp_sdes.c -+++ b/pjmedia/src/pjmedia/transport_srtp_sdes.c -@@ -478,6 +478,15 @@ static pj_status_t sdes_encode_sdp( pjmedia_transport *tp, - - has_crypto_attr = PJ_TRUE; - -+ /* Bound writes to tags[] by its capacity. m_rem->attr_count -+ * is capped by the SDP parser at PJMEDIA_MAX_SDP_ATTR, which -+ * can exceed PJ_ARRAY_SIZE(tags); without this guard a remote -+ * peer can overflow the stack array by sending more than -+ * PJ_ARRAY_SIZE(tags) a=crypto attributes. -+ */ -+ if (cr_attr_count >= PJ_ARRAY_SIZE(tags)) -+ return PJMEDIA_SRTP_ESDPINCRYPTO; -+ - status = parse_attr_crypto(srtp->pool, m_rem->attr[i], - &tmp_rx_crypto, - &tags[cr_attr_count]); diff --git a/meta-multimedia/recipes-multimedia/pjproject/pjproject/CVE-2026-57163.patch b/meta-multimedia/recipes-multimedia/pjproject/pjproject/CVE-2026-57163.patch deleted file mode 100644 index 7b3c681cb9..0000000000 --- a/meta-multimedia/recipes-multimedia/pjproject/pjproject/CVE-2026-57163.patch +++ /dev/null @@ -1,52 +0,0 @@ -From 2276d5ff1fe185a6bb51ab741dd5d88e45dbaa47 Mon Sep 17 00:00:00 2001 -From: Nanang Izzuddin -Date: Wed, 17 Jun 2026 15:46:16 +0700 -Subject: [PATCH] Merge commit from fork - -The SAN-counting loop in tls_cert_get_info() (ssl_sock_gtls.c) called -gnutls_x509_crt_get_subject_alt_name() with len still holding -sizeof(buf) (512) from an earlier getter, while the output buffer is -only 256 bytes, so an oversized SAN entry overflowed the stack. Set len -to the true capacity (sizeof(out) - 1, matching the populate loop) on -every iteration. - -Co-Authored-By Claude Code - -(cherry picked from commit c4a151af86fadd16d9480b2603eeb2abf4fb4f78) - -CVE: CVE-2026-57163 -Upstream-Status: Backport [https://github.com/pjsip/pjproject/commit/c4a151af86fadd16d9480b2603eeb2abf4fb4f78] - -Signed-off-by: Ankur Tyagi ---- - pjlib/src/pj/ssl_sock_gtls.c | 12 +++++++++++- - 1 file changed, 11 insertions(+), 1 deletion(-) - -diff --git a/pjlib/src/pj/ssl_sock_gtls.c b/pjlib/src/pj/ssl_sock_gtls.c -index de3d5e99e..68ceea3f3 100644 ---- a/pjlib/src/pj/ssl_sock_gtls.c -+++ b/pjlib/src/pj/ssl_sock_gtls.c -@@ -1018,12 +1018,22 @@ static void tls_cert_get_info(pj_pool_t *pool, pj_ssl_cert_info *ci, - if (ci->version >= 3) { - char out[256] = { 0 }; - /* Get the number of all alternate names so that we can allocate -- * the correct number of bytes in subj_alt_name */ -+ * the correct number of bytes in subj_alt_name. -+ * -+ * Pass the true capacity of 'out' as the in/out size argument on -+ * every iteration. 'len' otherwise still holds sizeof(buf) (512) -+ * from an earlier getter, which would let GnuTLS copy an oversized -+ * SubjectAltName entry past the end of the 256-byte 'out' buffer. -+ * Use sizeof(out) - 1 to match the populate loop below, leaving -+ * room for the NUL terminator GnuTLS appends to string names. -+ */ -+ len = sizeof(out) - 1; - while (gnutls_x509_crt_get_subject_alt_name(cert, seq, out, &len, - NULL) != - GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE) - { - seq++; -+ len = sizeof(out) - 1; - } - - ci->subj_alt_name.entry = pj_pool_calloc(pool, seq, diff --git a/meta-multimedia/recipes-multimedia/pjproject/pjproject/CVE-2026-57164.patch b/meta-multimedia/recipes-multimedia/pjproject/pjproject/CVE-2026-57164.patch deleted file mode 100644 index 0686d681c3..0000000000 --- a/meta-multimedia/recipes-multimedia/pjproject/pjproject/CVE-2026-57164.patch +++ /dev/null @@ -1,66 +0,0 @@ -From 1160ff3c15cfa79f50d4bc6ce8066854f656066c Mon Sep 17 00:00:00 2001 -From: Nanang Izzuddin -Date: Wed, 17 Jun 2026 15:46:48 +0700 -Subject: [PATCH] Merge commit from fork - -http_on_data_read() in http_client.c grew the response buffer by a -single doubling, which is insufficient when the server sends a body -larger than twice the (attacker-supplied) Content-Length used for the -initial allocation. Loop the doubling until the buffer fits, with a -floor for the size==0 case to avoid an infinite loop. - -Co-Authored-By Claude Code - -(cherry picked from commit 8d5956afab2ede95ddb199078dc19a8ac0114f3d) - -CVE: CVE-2026-57164 -Upstream-Status: Backport [https://github.com/pjsip/pjproject/commit/8d5956afab2ede95ddb199078dc19a8ac0114f3d] - -Signed-off-by: Ankur Tyagi ---- - pjlib-util/src/pjlib-util/http_client.c | 27 ++++++++++++++++++------- - 1 file changed, 20 insertions(+), 7 deletions(-) - -diff --git a/pjlib-util/src/pjlib-util/http_client.c b/pjlib-util/src/pjlib-util/http_client.c -index bd441acb9..d2771d240 100644 ---- a/pjlib-util/src/pjlib-util/http_client.c -+++ b/pjlib-util/src/pjlib-util/http_client.c -@@ -432,18 +432,31 @@ static pj_bool_t http_on_data_read(pj_activesock_t *asock, - hreq->response.size); - } - -- /* If the size of data received exceeds its current size, -- * grow the buffer by a factor of 2. -+ /* If the size of data received exceeds its current size, grow the -+ * buffer by a factor of 2 repeatedly, until it can actually hold -+ * everything received so far. A single doubling is not sufficient -+ * when the server delivers a body chunk larger than twice the -+ * (possibly undersized) Content-Length used for the initial -+ * allocation, which would otherwise overflow the buffer in the -+ * pj_memcpy() below. - */ -- if (hreq->tcp_state.current_read_size + size > -- hreq->response.size) -+ if (hreq->tcp_state.current_read_size + size > -+ hreq->response.size) - { - void *olddata = hreq->response.data; -+ pj_size_t new_size = hreq->response.size; - -- hreq->response.data = pj_pool_alloc(hreq->pool, -- hreq->response.size << 1); -+ /* Guard against size==0 (Content-Length: 0 with a body), which -+ * would make the doubling loop below spin forever. -+ */ -+ if (new_size == 0) -+ new_size = INITIAL_DATA_BUF_SIZE; -+ while (hreq->tcp_state.current_read_size + size > new_size) -+ new_size <<= 1; -+ -+ hreq->response.data = pj_pool_alloc(hreq->pool, new_size); - pj_memcpy(hreq->response.data, olddata, hreq->response.size); -- hreq->response.size <<= 1; -+ hreq->response.size = new_size; - } - - /* Append the response data. */ diff --git a/meta-multimedia/recipes-multimedia/pjproject/pjproject/CVE-2026-57165.patch b/meta-multimedia/recipes-multimedia/pjproject/pjproject/CVE-2026-57165.patch deleted file mode 100644 index e2d62b0eef..0000000000 --- a/meta-multimedia/recipes-multimedia/pjproject/pjproject/CVE-2026-57165.patch +++ /dev/null @@ -1,85 +0,0 @@ -From 5776ee452296d5277d71e2bb011709adec80a533 Mon Sep 17 00:00:00 2001 -From: Nanang Izzuddin -Date: Wed, 17 Jun 2026 15:47:29 +0700 -Subject: [PATCH] Merge commit from fork - -handle_up_down() in cli_telnet.c accumulated cur_pos + 2*rcmd->len + -history->slen bytes into a fixed PJ_CLI_MAX_CMDBUF stack buffer with no -bound check. Size the buffer for the worst case, clamp each term to -PJ_CLI_MAX_CMDBUF, and replace the trailing unchecked pj_strcat with a -bounded pj_memcpy. - -Co-Authored-By Claude Code - -(cherry picked from commit 628b71638465bacf66e767959e6acbab822eccd6) - -CVE: CVE-2026-57165 -Upstream-Status: Backport [https://github.com/pjsip/pjproject/commit/628b71638465bacf66e767959e6acbab822eccd6] - -Signed-off-by: Ankur Tyagi ---- - pjlib-util/src/pjlib-util/cli_telnet.c | 33 ++++++++++++++++++++------ - 1 file changed, 26 insertions(+), 7 deletions(-) - -diff --git a/pjlib-util/src/pjlib-util/cli_telnet.c b/pjlib-util/src/pjlib-util/cli_telnet.c -index 150727bb5..0a2954bd4 100644 ---- a/pjlib-util/src/pjlib-util/cli_telnet.c -+++ b/pjlib-util/src/pjlib-util/cli_telnet.c -@@ -1141,7 +1141,14 @@ static pj_bool_t handle_up_down(cli_telnet_sess *sess, pj_bool_t is_up) - history = get_prev_history(sess, is_up); - if (history) { - pj_str_t send_data; -- char str[PJ_CLI_MAX_CMDBUF]; -+ /* The redraw sequence can accumulate up to -+ * cur_pos + 2 * rcmd->len + history->slen -+ * bytes, each term bounded by PJ_CLI_MAX_CMDBUF, so size the -+ * local buffer for the worst case and clamp each term below. -+ */ -+ char str[PJ_CLI_MAX_CMDBUF * 4]; -+ unsigned cur_pos, buf_len; -+ pj_size_t hist_len; - enum { - MOVE_CURSOR_LEFT = 0x08, - CLEAR_CHAR = 0x20 -@@ -1149,15 +1156,24 @@ static pj_bool_t handle_up_down(cli_telnet_sess *sess, pj_bool_t is_up) - send_data.ptr = str; - send_data.slen = 0; - -+ cur_pos = sess->rcmd->cur_pos; -+ buf_len = sess->rcmd->len; -+ hist_len = history->slen; -+ if (cur_pos > PJ_CLI_MAX_CMDBUF) -+ cur_pos = PJ_CLI_MAX_CMDBUF; -+ if (buf_len > PJ_CLI_MAX_CMDBUF) -+ buf_len = PJ_CLI_MAX_CMDBUF; -+ if (hist_len > PJ_CLI_MAX_CMDBUF) -+ hist_len = PJ_CLI_MAX_CMDBUF; -+ - /* Move cursor position to the beginning of line */ -- if (sess->rcmd->cur_pos > 0) { -- pj_memset(send_data.ptr, MOVE_CURSOR_LEFT, sess->rcmd->cur_pos); -- send_data.slen = sess->rcmd->cur_pos; -+ if (cur_pos > 0) { -+ pj_memset(send_data.ptr, MOVE_CURSOR_LEFT, cur_pos); -+ send_data.slen = cur_pos; - } - -- if (sess->rcmd->len > (unsigned)history->slen) { -+ if (buf_len > (unsigned)hist_len) { - /* Clear the command currently shown*/ -- unsigned buf_len = sess->rcmd->len; - pj_memset(&send_data.ptr[send_data.slen], CLEAR_CHAR, buf_len); - send_data.slen += buf_len; - -@@ -1167,7 +1183,10 @@ static pj_bool_t handle_up_down(cli_telnet_sess *sess, pj_bool_t is_up) - send_data.slen += buf_len; - } - /* Send data */ -- pj_strcat(&send_data, history); -+ if (hist_len > 0) { -+ pj_memcpy(&send_data.ptr[send_data.slen], history->ptr, hist_len); -+ send_data.slen += hist_len; -+ } - telnet_sess_send(sess, &send_data); - pj_ansi_strxcpy2((char*)sess->rcmd->rbuf, history, - sizeof(sess->rcmd->rbuf)); diff --git a/meta-multimedia/recipes-multimedia/pjproject/pjproject/CVE-2026-57166.patch b/meta-multimedia/recipes-multimedia/pjproject/pjproject/CVE-2026-57166.patch deleted file mode 100644 index 8311d4c36d..0000000000 --- a/meta-multimedia/recipes-multimedia/pjproject/pjproject/CVE-2026-57166.patch +++ /dev/null @@ -1,228 +0,0 @@ -From d0b42b902bb6ca8a0a1393799db487642d3bf8ae Mon Sep 17 00:00:00 2001 -From: Nanang Izzuddin -Date: Wed, 17 Jun 2026 15:55:53 +0700 -Subject: [PATCH] Merge commit from fork - -* Fix pre-auth stack overflow formatting telnet CLI error indicator - -send_err_arg() in cli_telnet.c rendered the error caret into a fixed -256-byte stack buffer using unchecked pj_strcat2; info->err_pos is -bounded only by PJ_CLI_MAX_CMDBUF, so a long command line overflowed -the buffer. Stream the spaces in bounded chunks via telnet_sess_send2, -clamp the caret offset to PJ_CLI_MAX_CMDBUF, and send the message, -prompt and echoed command separately, removing the stack buffer. - -Co-Authored-By Claude Code - -* Apply the same overflow fix to send_ambi_arg() - -Per review, send_ambi_arg() has the same issue as send_err_arg(): it -renders an attacker-influenced number of caret spaces and appends the -last command into a fixed 1028-byte stack buffer with unchecked -pj_strcat2. info->err_pos and sess->rcmd->rbuf are bounded only by -PJ_CLI_MAX_CMDBUF, so a long ambiguous command line could overflow it. - -Stream the caret offset in bounded chunks (clamped to PJ_CLI_MAX_CMDBUF) -and stream the clamped last command separately, mirroring the -send_err_arg() fix, instead of writing them into the fixed buffer. The -shared SPACES constant is hoisted to file scope. - -Co-Authored-By Claude Code - -* Bound completion append in handle_tab() - -handle_tab() appended the matched command name into the fixed-size -sess->rcmd->rbuf at offset len (the current command length) without -checking that len + name length fits the buffer. len is bounded by the -receive path, but the completion suffix is added on top, so a long -completable command line could write past rbuf and its NUL terminator. - -Clamp the appended length to the space remaining in rbuf, leaving room -for the terminator. Found while auditing the telnet CLI for the same -fixed-buffer overflow pattern as send_err_arg()/send_ambi_arg(). - -Co-Authored-By Claude Code - -(cherry picked from commit 4472a31d77a7506ff175dad5abef490f4e31bed1) - -CVE: CVE-2026-57166 -Upstream-Status: Backport [https://github.com/pjsip/pjproject/commit/4472a31d77a7506ff175dad5abef490f4e31bed1] - -Signed-off-by: Ankur Tyagi ---- - pjlib-util/src/pjlib-util/cli_telnet.c | 116 ++++++++++++++++++------- - 1 file changed, 84 insertions(+), 32 deletions(-) - -diff --git a/pjlib-util/src/pjlib-util/cli_telnet.c b/pjlib-util/src/pjlib-util/cli_telnet.c -index 0a2954bd4..67898fdd8 100644 ---- a/pjlib-util/src/pjlib-util/cli_telnet.c -+++ b/pjlib-util/src/pjlib-util/cli_telnet.c -@@ -680,6 +680,13 @@ static void send_prompt_str(cli_telnet_sess *sess) - telnet_sess_send(sess, &send_data); - } - -+/* Buffer of spaces, used to stream the caret offset in bounded chunks -+ * instead of writing an attacker-influenced number of spaces into a -+ * fixed-size stack buffer. Shared by send_err_arg() and send_ambi_arg(). -+ */ -+static const unsigned char SPACES[64] = -+ " "; -+ - /* - * This method is used to send error message to client, including - * the error position of the source command. -@@ -690,32 +697,45 @@ static void send_err_arg(cli_telnet_sess *sess, - pj_bool_t with_return, - pj_bool_t with_last_cmd) - { -- pj_str_t send_data; -- char data_str[256]; -- pj_size_t len; -- unsigned i; -+ pj_size_t len, remaining; - cli_telnet_fe *fe = (cli_telnet_fe *)sess->base.fe; - -- send_data.ptr = data_str; -- send_data.slen = 0; -- - if (with_return) -- pj_strcat2(&send_data, "\r\n"); -+ telnet_sess_send2(sess, (const unsigned char*)"\r\n", 2); - -+ /* Compute the caret offset. info->err_pos is derived from -+ * attacker-supplied input (pj_cli_sess_parse) and is bounded only by -+ * PJ_CLI_MAX_CMDBUF, so clamp it before emitting spaces. Otherwise a -+ * ~500-byte command line would overflow the fixed-size stack buffer -+ * this function previously used. -+ */ - len = fe->cfg.prompt_str.slen + info->err_pos; -- -- /* Set the error pointer mark */ -- for (i=0;i PJ_CLI_MAX_CMDBUF) -+ len = PJ_CLI_MAX_CMDBUF; -+ -+ remaining = len; -+ while (remaining > 0) { -+ pj_size_t chunk = (remaining > sizeof(SPACES)) ? sizeof(SPACES) -+ : remaining; -+ telnet_sess_send2(sess, SPACES, (int)chunk); -+ remaining -= chunk; - } -- pj_strcat2(&send_data, "^"); -- pj_strcat2(&send_data, "\r\n"); -- pj_strcat(&send_data, msg); -- pj_strcat(&send_data, &fe->cfg.prompt_str); -- if (with_last_cmd) -- pj_strcat2(&send_data, (char *)sess->rcmd->rbuf); - -- telnet_sess_send(sess, &send_data); -+ telnet_sess_send2(sess, (const unsigned char*)"^\r\n", 3); -+ -+ if (msg && msg->slen > 0) -+ telnet_sess_send(sess, msg); -+ if (fe->cfg.prompt_str.slen > 0) -+ telnet_sess_send(sess, &fe->cfg.prompt_str); -+ if (with_last_cmd) { -+ pj_str_t last; -+ last.ptr = (char *)sess->rcmd->rbuf; -+ last.slen = (pj_ssize_t)pj_ansi_strlen((const char *)sess->rcmd->rbuf); -+ if (last.slen > PJ_CLI_MAX_CMDBUF) -+ last.slen = PJ_CLI_MAX_CMDBUF; -+ if (last.slen > 0) -+ telnet_sess_send(sess, &last); -+ } - } - - static void send_inv_arg(cli_telnet_sess *sess, -@@ -765,7 +785,7 @@ static void send_ambi_arg(cli_telnet_sess *sess, - pj_bool_t with_last_cmd) - { - unsigned i; -- pj_size_t len; -+ pj_size_t len, remaining; - pj_str_t send_data; - char data[1028]; - cli_telnet_fe *fe = (cli_telnet_fe *)sess->base.fe; -@@ -779,14 +799,25 @@ static void send_ambi_arg(cli_telnet_sess *sess, - send_data.slen = 0; - - if (with_return) -- pj_strcat2(&send_data, "\r\n"); -+ telnet_sess_send2(sess, (const unsigned char*)"\r\n", 2); - -+ /* Compute and clamp the caret offset, then stream the spaces, like -+ * send_err_arg(). info->err_pos is attacker-bounded only by -+ * PJ_CLI_MAX_CMDBUF, so it must not drive writes into data[]. -+ */ - len = fe->cfg.prompt_str.slen + info->err_pos; -- -- for (i=0;i PJ_CLI_MAX_CMDBUF) -+ len = PJ_CLI_MAX_CMDBUF; -+ -+ remaining = len; -+ while (remaining > 0) { -+ pj_size_t chunk = (remaining > sizeof(SPACES)) ? sizeof(SPACES) -+ : remaining; -+ telnet_sess_send2(sess, SPACES, (int)chunk); -+ remaining -= chunk; - } -- pj_strcat2(&send_data, "^"); -+ telnet_sess_send2(sess, (const unsigned char*)"^", 1); -+ - /* Get the max length of the command name */ - for (i=0;ihint_cnt;++i) { - if (hint[i].type.slen > 0) { -@@ -874,10 +905,21 @@ static void send_ambi_arg(cli_telnet_sess *sess, - } - pj_strcat2(&send_data, "\r\n"); - pj_strcat(&send_data, &fe->cfg.prompt_str); -- if (with_last_cmd) -- pj_strcat2(&send_data, (char *)sess->rcmd->rbuf); -- - telnet_sess_send(sess, &send_data); -+ -+ /* Stream the last command separately with a clamp; sess->rcmd->rbuf -+ * is attacker-bounded only by PJ_CLI_MAX_CMDBUF, so appending it into -+ * data[] could overflow the fixed-size buffer. -+ */ -+ if (with_last_cmd) { -+ pj_str_t last; -+ last.ptr = (char *)sess->rcmd->rbuf; -+ last.slen = (pj_ssize_t)pj_ansi_strlen((const char *)sess->rcmd->rbuf); -+ if (last.slen > PJ_CLI_MAX_CMDBUF) -+ last.slen = PJ_CLI_MAX_CMDBUF; -+ if (last.slen > 0) -+ telnet_sess_send(sess, &last); -+ } - } - - /* -@@ -1035,10 +1077,20 @@ static pj_bool_t handle_tab(cli_telnet_sess *sess) - } - send_comp_arg(sess, &info); - -- pj_memcpy(&sess->rcmd->rbuf[len], info.hint[0].name.ptr, -- info.hint[0].name.slen); -- -- len += (unsigned)info.hint[0].name.slen; -+ /* Append the matched name into the fixed-size rbuf. len is -+ * attacker-influenced (the typed command length), so clamp -+ * the copy to leave room for the NUL terminator and avoid -+ * overflowing rbuf. -+ */ -+ if (len < sizeof(sess->rcmd->rbuf) - 1) { -+ pj_size_t avail = sizeof(sess->rcmd->rbuf) - 1 - len; -+ pj_size_t cplen = (pj_size_t)info.hint[0].name.slen; -+ if (cplen > avail) -+ cplen = avail; -+ pj_memcpy(&sess->rcmd->rbuf[len], -+ info.hint[0].name.ptr, cplen); -+ len += (unsigned)cplen; -+ } - sess->rcmd->rbuf[len] = 0; - } - } else { diff --git a/meta-multimedia/recipes-multimedia/pjproject/pjproject/CVE-2026-77396.patch b/meta-multimedia/recipes-multimedia/pjproject/pjproject/CVE-2026-77396.patch deleted file mode 100644 index a02268bf11..0000000000 --- a/meta-multimedia/recipes-multimedia/pjproject/pjproject/CVE-2026-77396.patch +++ /dev/null @@ -1,74 +0,0 @@ -From a927a964d462e9966864b7b2c432942b61038d6b Mon Sep 17 00:00:00 2001 -From: Nanang Izzuddin -Date: Mon, 13 Jul 2026 09:27:02 +0700 -Subject: [PATCH] Merge commit from fork - -The AVI player used a chunk length taken from the input file as the -number of bytes to read into the video frame buffer, whose capacity is -derived from the (also file-supplied) declared dimensions, without -reconciling the two. A crafted file could therefore cause a write past -the end of the buffer. The only guard was an assertion, which is a -no-op in release builds. - -Clamp the read to the frame buffer capacity, skip any remaining chunk -bytes so the file position stays aligned, and remove the reliance on -the assertion for validating a file-supplied length. - -Ref: GHSA-6p2p-5wf8-h5hr -(cherry picked from commit 7ecc6584969a923c4190b6912afbf5952b5a4b9f) - -CVE: CVE-2026-77396 -Upstream-Status: Backport [https://github.com/pjsip/pjproject/commit/7ecc6584969a923c4190b6912afbf5952b5a4b9f] -Signed-off-by: Ankur Tyagi ---- - pjmedia/src/pjmedia/avi_player.c | 34 +++++++++++++++++++++++++++++--- - 1 file changed, 31 insertions(+), 3 deletions(-) - -diff --git a/pjmedia/src/pjmedia/avi_player.c b/pjmedia/src/pjmedia/avi_player.c -index dc87b8a41..8b4b94d16 100644 ---- a/pjmedia/src/pjmedia/avi_player.c -+++ b/pjmedia/src/pjmedia/avi_player.c -@@ -1199,12 +1199,40 @@ static pj_status_t avi_get_frame(pjmedia_port *this_port, - goto on_error2; - fport->size_left -= size_to_read; - } else { -- pj_assert(frame->size >= ch.len); -- status = file_read3(fport->fd, frame->buf, ch.len, -+ pj_uint32_t read_len = ch.len; -+ -+ /* Clamp the read to the frame buffer capacity. A crafted -+ * file may declare a chunk larger than the buffer, whose -+ * size is derived from the (also file-supplied) video -+ * dimensions; never write past frame->buf (frame->size -+ * bytes). Do not rely on pj_assert() here, as it is a no-op -+ * in release builds. -+ */ -+ if (read_len > frame->size) { -+ PJ_LOG(3, (THIS_FILE, -+ "AVI video chunk (%u) exceeds frame buffer " -+ "(%u), truncating", -+ (unsigned)ch.len, (unsigned)frame->size)); -+ read_len = (pj_uint32_t)frame->size; -+ } -+ -+ status = file_read3(fport->fd, frame->buf, read_len, - 0, &size_read); - if (status != PJ_SUCCESS) - goto on_error2; -- frame->size = ch.len; -+ -+ /* Skip any remaining chunk bytes that did not fit, so the -+ * file position stays aligned to the next chunk. -+ */ -+ if (ch.len > read_len) { -+ status = pj_file_setpos(fport->fd, -+ (pj_off_t)ch.len - read_len, -+ PJ_SEEK_CUR); -+ if (status != PJ_SUCCESS) -+ goto on_error2; -+ } -+ -+ frame->size = read_len; - fport->size_left = 0; - } - diff --git a/meta-multimedia/recipes-multimedia/pjproject/pjproject/CVE-2026-84975.patch b/meta-multimedia/recipes-multimedia/pjproject/pjproject/CVE-2026-84975.patch deleted file mode 100644 index 007096a6ff..0000000000 --- a/meta-multimedia/recipes-multimedia/pjproject/pjproject/CVE-2026-84975.patch +++ /dev/null @@ -1,87 +0,0 @@ -From f00f023079d0f9a74477da47056bfce76374b2a7 Mon Sep 17 00:00:00 2001 -From: sauwming -Date: Fri, 17 Jul 2026 16:46:33 +0800 -Subject: [PATCH] Merge commit from fork - -SubjectAltName entries from the OpenSSL and GnuTLS backends were copied -with pj_strdup2(), which re-derives the length with strlen() and thus -discards the length already returned by ASN1_STRING_to_UTF8() / -gnutls_x509_crt_get_subject_alt_name(). A DNS SAN such as -"victim.example\0.attacker" was therefore truncated to "victim.example". - -sip_transport_tls.c disables socket-layer verification and performs its -own length-aware identity match against subj_alt_name, so the truncated -prefix compared equal to the target host and a crafted certificate was -accepted for the prefix hostname (server identity / hostname verification -bypass; OpenSSL's own X509_check_host() rejects the same certificate). - -Copy the SAN using its explicit length via pj_strset()/pj_strdup_with_null() -so embedded NULs are preserved and no longer truncated. The mbedTLS backend -already copied with a length-bearing pj_str_t and was not affected. - -Co-authored-by: Claude Opus 4.8 -(cherry picked from commit 43d3bd77bb6833eab4c493503b8d564a754ddfdd) - -CVE: CVE-2026-84975 -Upstream-Status: Backport [https://github.com/pjsip/pjproject/commit/43d3bd77bb6833eab4c493503b8d564a754ddfdd] - -Signed-off-by: Ankur Tyagi ---- - pjlib/src/pj/ssl_sock_gtls.c | 17 +++++++++++++++-- - pjlib/src/pj/ssl_sock_ossl.c | 14 +++++++++++--- - 2 files changed, 26 insertions(+), 5 deletions(-) - -diff --git a/pjlib/src/pj/ssl_sock_gtls.c b/pjlib/src/pj/ssl_sock_gtls.c -index 68ceea3f3..ee977116b 100644 ---- a/pjlib/src/pj/ssl_sock_gtls.c -+++ b/pjlib/src/pj/ssl_sock_gtls.c -@@ -1072,9 +1072,22 @@ static void tls_cert_get_info(pj_pool_t *pool, pj_ssl_cert_info *ci, - - if (len && type != PJ_SSL_CERT_NAME_UNKNOWN) { - ci->subj_alt_name.entry[ci->subj_alt_name.cnt].type = type; -- pj_strdup2(pool, -+ if (type == PJ_SSL_CERT_NAME_IP) { -+ pj_strdup2(pool, - &ci->subj_alt_name.entry[ci->subj_alt_name.cnt].name, -- type == PJ_SSL_CERT_NAME_IP ? buf : out); -+ buf); -+ } else { -+ /* Preserve the reported length instead of using strlen(), -+ * so a DNS SAN containing an embedded NUL is not truncated -+ * at the NUL (which would allow a crafted cert to be -+ * accepted for the prefix hostname; identity bypass). -+ */ -+ pj_str_t tmp; -+ pj_strset(&tmp, out, len); -+ pj_strdup_with_null(pool, -+ &ci->subj_alt_name.entry[ci->subj_alt_name.cnt].name, -+ &tmp); -+ } - ci->subj_alt_name.cnt++; - } - } -diff --git a/pjlib/src/pj/ssl_sock_ossl.c b/pjlib/src/pj/ssl_sock_ossl.c -index 30b4eeaee..ceb6bca5b 100644 ---- a/pjlib/src/pj/ssl_sock_ossl.c -+++ b/pjlib/src/pj/ssl_sock_ossl.c -@@ -2270,9 +2270,17 @@ static void get_cert_info(pj_pool_t *pool, pj_ssl_cert_info *ci, X509 *x, - &ci->subj_alt_name.entry[ci->subj_alt_name.cnt].name, - buf); - } else { -- pj_strdup2(pool, -- &ci->subj_alt_name.entry[ci->subj_alt_name.cnt].name, -- (char*)p); -+ /* Preserve the explicit ASN.1 string length instead of -+ * treating the data as a NUL-terminated C string. A DNS -+ * SAN such as "host.example\0.attacker" would otherwise be -+ * truncated at the embedded NUL, letting a crafted cert be -+ * accepted for the prefix hostname (identity bypass). -+ */ -+ pj_str_t tmp; -+ pj_strset(&tmp, (char*)p, len); -+ pj_strdup_with_null(pool, -+ &ci->subj_alt_name.entry[ci->subj_alt_name.cnt].name, -+ &tmp); - OPENSSL_free(p); - } - ci->subj_alt_name.cnt++; diff --git a/meta-multimedia/recipes-multimedia/pjproject/pjproject_2.17.bb b/meta-multimedia/recipes-multimedia/pjproject/pjproject_2.18.bb similarity index 90% rename from meta-multimedia/recipes-multimedia/pjproject/pjproject_2.17.bb rename to meta-multimedia/recipes-multimedia/pjproject/pjproject_2.18.bb index 893559090f..833d717dda 100644 --- a/meta-multimedia/recipes-multimedia/pjproject/pjproject_2.17.bb +++ b/meta-multimedia/recipes-multimedia/pjproject/pjproject_2.18.bb @@ -12,19 +12,9 @@ SECTION = "libs" LICENSE = "GPL-2.0-or-later" LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" -SRC_URI = "git://github.com/pjsip/pjproject.git;protocol=https;branch=master;tag=${PV} \ - file://0001-ssl_sock_ossl-fix-OpenSSL-4.0-compatibility.patch \ - file://CVE-2026-57160.patch \ - file://CVE-2026-57161.patch \ - file://CVE-2026-57162.patch \ - file://CVE-2026-57163.patch \ - file://CVE-2026-57164.patch \ - file://CVE-2026-57165.patch \ - file://CVE-2026-57166.patch \ - file://CVE-2026-77396.patch \ - file://CVE-2026-84975.patch \ - " -SRCREV = "5a457451fa2712ba18e12b01738e8ff3af2b26fd" +SRC_URI = "git://github.com/pjsip/pjproject.git;protocol=https;branch=master;tag=${PV}" +SRCREV = "bd4a7189d83d94237b6f42f3b8274664dbe6ff94" +UPSTREAM_CHECK_GITTAGREGEX = "^(?P\d+(\.\d+)+)$" DEPENDS = "swig-native python3-setuptools-native" From patchwork Fri Nov 27 07:01:44 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 106035 Received: from mail-pg1-f179.google.com (mail-pg1-f179.google.com [209.85.215.179]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.11777.1795762917781361400 for ; Thu, 26 Nov 2026 23:01:57 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=bPjGRV5R; spf=pass (domain: gmail.com, ip: 209.85.215.179, mailfrom: raj.khem@gmail.com) Received: by mail-pg1-f179.google.com with SMTP id 41be03b00d2f7-cdebab6fdb3so930559a12.2 for ; Thu, 26 Nov 2026 23:01:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795762917; x=1796367717; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=YbVG/u2iTYLWka/1D8nZd6i2tiz2ByUEUU4Ku4tE2VE=; b=bPjGRV5RhORDEDQh97ZV/d3VoONjZsfwm3UgGFt15emeCcuChJ+bcqQDAxaZCkB/yH 2iObViYuksNw4yqxJ2PfleympRj/HFpeYf7GanYiQu5SemSrvTKziGntuLL45eQ4sz09 Pc9cgiAVnhMp1e++gBmJN2DVdZetxGiSiPXjeOFZ9jV08Fgn9+D3axQDpR607Rktts6J 2bFQM9UGTFdR7Iee+9i6WVle/LQhyZPCzy9OgUmylWIgW9ni5hrripNBQdG7KhtB3V+v urLb4Nl7qS5/+fufR9lFxGeRvo6FyVkGksN1Wt//+JeO8nXM3BZneLtC/0q8amljLPdb 9ldg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795762917; x=1796367717; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=YbVG/u2iTYLWka/1D8nZd6i2tiz2ByUEUU4Ku4tE2VE=; b=LblkF/pAwZnO8lBfkhzyT7z0WAVbBfAgYichahVzYsM+ISeFFjwyHd5IH8l1CyfO7c HDfrIAu7BWfxyQEWl4V9s8Budv8y2TSlhG+fhrcMe4zF0F1XHx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sgc9MsZZGlkb7kdjNcsKwITgBW5PfR9MmwT7Y3bEJyjfynkBSYbVCBJsAfZGqB VK+MnGEbYpDqW+L9xIRuH2j5DFKTL6roKf9jlHkiQujDsWOLnXm139TPuVAHqhbC4dKIw67Isv5 3uFTEMO1+i05oquaqqcbMCHWbMPoN+Tt1WFG3YNaUEfXCQzXCqLV/RCkAr5jWLF8HJJpoLWXYEv B+fvUEDpTkGU/Ntn9mgrDt2W7A== X-Received: by 2002:a17:90b:2651:b0:3b4:1cd1:c1c5 with SMTP id 98e67ed59e1d1-3b41cd1cd70mr14496692a91.29.1795762917133; Thu, 26 Nov 2026 23:01:57 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3b4efb59622sm6385312a91.4.2026.11.26.23.01.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Nov 2026 23:01:56 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-multimedia][PATCH 5/6] python3-pillow-heif: upgrade 1.8.1 -> 1.9.0 Date: Thu, 26 Nov 2026 23:01:44 -0800 Message-ID: <20261127070145.2286713-6-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261127070145.2286713-1-khem.raj@oss.qualcomm.com> References: <20261127070145.2286713-1-khem.raj@oss.qualcomm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 27 Nov 2026 07:01:59 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133325 - Pillow plugin: Image.open() with a file path now reads only the metadata; the file must stay unchanged on disk until load() - Requires Pillow >= 13.0.0 and libheif >= 1.23.7; Python 3.10 dropped - Files with an unreadable metadata item now open; invalid HEVC NAL unit size raises ValueError instead of EOFError - Fix crashes/buffer overflow on memory exhaustion and with a preferred decoder ID longer than 63 bytes; NAL units over 16 MiB Recipe: checksum update only. The cross-compile setup.py patch still applies (offset only); python3-pillow 13.0.0 and libheif 1.23.7 are already in the layers. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- ...ython3-pillow-heif_1.8.1.bb => python3-pillow-heif_1.9.0.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-multimedia/recipes-devtools/python/{python3-pillow-heif_1.8.1.bb => python3-pillow-heif_1.9.0.bb} (84%) diff --git a/meta-multimedia/recipes-devtools/python/python3-pillow-heif_1.8.1.bb b/meta-multimedia/recipes-devtools/python/python3-pillow-heif_1.9.0.bb similarity index 84% rename from meta-multimedia/recipes-devtools/python/python3-pillow-heif_1.8.1.bb rename to meta-multimedia/recipes-devtools/python/python3-pillow-heif_1.9.0.bb index e111a3968c..8845c2fc44 100644 --- a/meta-multimedia/recipes-devtools/python/python3-pillow-heif_1.8.1.bb +++ b/meta-multimedia/recipes-devtools/python/python3-pillow-heif_1.9.0.bb @@ -9,7 +9,7 @@ LICENSE_FLAGS = "commercial" inherit pypi python_setuptools_build_meta SRC_URI += "file://0001-setup.py-support-cross-compiling.patch" -SRC_URI[sha256sum] = "521ebffb8a181d56c3904e5a61f20903edee0d9d3275967b8fb345f866215c06" +SRC_URI[sha256sum] = "8a13d15106c9dbbd66a65966edee2ee0de3950c18dc3ea42912442cda803ea4c" DEPENDS += "libheif python3-wheel-native" From patchwork Fri Nov 27 07:01:45 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 106037 Received: from mail-pl1-f177.google.com (mail-pl1-f177.google.com [209.85.214.177]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.11786.1795762919918348988 for ; Thu, 26 Nov 2026 23:01:59 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=uaXLAPqY; spf=pass (domain: gmail.com, ip: 209.85.214.177, mailfrom: raj.khem@gmail.com) Received: by mail-pl1-f177.google.com with SMTP id d9443c01a7336-2f0458cc9easo61328475ad.3 for ; Thu, 26 Nov 2026 23:01:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795762919; x=1796367719; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=sooM7sSAz1pF6f/u9C+WeUayKfd7OM2obj4uyv1jF4c=; b=uaXLAPqYU1JBYhKZo6p/8x9MTiPpbG+qvlwebY52VHFQnEfj39DaybCmySVWaT3mZ9 Z5B/Hq87ICZaNtTFfr0J0TaZQ8jfprFQLgx3y23IOsScf/X8tDg8O1Txf/CZRN04TeUj mGRlsKHYHeoZpVhtFqY96TjKCVit5o0TwacLIsiwxMkTAPxP08eK0FwHcg80MzUFKnIu /+WIZY8XrbCflghCFqGwAZT1Vbwr1zdzMGMAMGwdy/wG78qlbrCyyRIncCWxpwHJZVY3 AZCJZ2kbOfj6T4awh9WX+WtZn2t90gKDp2Krxv2F3TYAvEpeKkBg1B6x9BqT7UolYwyA xuxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795762919; x=1796367719; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=sooM7sSAz1pF6f/u9C+WeUayKfd7OM2obj4uyv1jF4c=; b=tkzj+F51YyrEG+y62soUqtyB/3xjrsgZRNBAexWbBSI4faytHmBO88lUnKV0riMEOx bdjznK1OLmtyeGCgNxENqmb2x15WMz7cLjsUH5bJmp6Uo1Ifs/dx0U7GecntX9gxw2Om LEbwfPbaCijZZErk4oW+Z8htDSmsWBWzQNhHLFYt4cs+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mD/GLcGWLpVRqAzEhjkydyc/JiJuJeZAOy8VuBxtFm/Ae0un5wTEB upuEuG3IX7lx2UE2OuLKWGCNMULyCa0550WZRV6DNWF71FdZC+6X+F5LEyTMyWueveBXArQMOF/ sIZb X-Received: by 2002:a17:90b:2f8c:b0:3b3:af8e:ea8d with SMTP id 98e67ed59e1d1-3b41c92a403mr22845039a91.39.1795762918959; Thu, 26 Nov 2026 23:01:58 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3b4efb59622sm6385312a91.4.2026.11.26.23.01.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Nov 2026 23:01:58 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-multimedia][PATCH 6/6] pjproject: Fix build on musl Date: Thu, 26 Nov 2026 23:01:45 -0800 Message-ID: <20261127070145.2286713-7-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261127070145.2286713-1-khem.raj@oss.qualcomm.com> References: <20261127070145.2286713-1-khem.raj@oss.qualcomm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 27 Nov 2026 07:02:09 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133326 The pjsua_stress harness added in 2.18 takes every non-Android Linux build for glibc and includes for crash backtraces: pjsua_stress.c:58:12: fatal error: 'execinfo.h' file not found Add a patch that enables the backtrace and ucontext code only when __GLIBC__ is defined. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- ...y-use-backtrace-and-ucontext-with-gl.patch | 51 +++++++++++++++++++ .../pjproject/pjproject_2.18.bb | 4 +- 2 files changed, 54 insertions(+), 1 deletion(-) create mode 100644 meta-multimedia/recipes-multimedia/pjproject/pjproject/0001-pjsua_stress-Only-use-backtrace-and-ucontext-with-gl.patch diff --git a/meta-multimedia/recipes-multimedia/pjproject/pjproject/0001-pjsua_stress-Only-use-backtrace-and-ucontext-with-gl.patch b/meta-multimedia/recipes-multimedia/pjproject/pjproject/0001-pjsua_stress-Only-use-backtrace-and-ucontext-with-gl.patch new file mode 100644 index 0000000000..d65209932f --- /dev/null +++ b/meta-multimedia/recipes-multimedia/pjproject/pjproject/0001-pjsua_stress-Only-use-backtrace-and-ucontext-with-gl.patch @@ -0,0 +1,51 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Thu, 26 Nov 2026 15:30:12 -0800 +Subject: [PATCH] pjsua_stress: Only use backtrace() and ucontext with glibc + +PJSUA_STRESS_GLIBC was defined for every non-Android Linux build, so on +musl the stress harness included and failed to build: + + pjsua_stress.c:58:12: fatal error: 'execinfo.h' file not found + +Keep defining _GNU_SOURCE for Linux before the first libc include, but +only enable the backtrace and ucontext code when __GLIBC__ is defined. + +Upstream-Status: Pending +AI-Generated: Uses Claude Code +Signed-off-by: Khem Raj +--- + pjsip/src/test/pjsua_stress.c | 13 ++++++++----- + 1 file changed, 8 insertions(+), 5 deletions(-) + +diff --git a/pjsip/src/test/pjsua_stress.c b/pjsip/src/test/pjsua_stress.c +index b1d9056..0a887df 100644 +--- a/pjsip/src/test/pjsua_stress.c ++++ b/pjsip/src/test/pjsua_stress.c +@@ -41,11 +41,7 @@ + * backtrace() only from API 33 and its ucontext_t has a different shape. + * This harness runs on the Linux and macOS CI targets, so keep it off there. + */ +-#if defined(__linux__) && !defined(__ANDROID__) +-# define PJSUA_STRESS_GLIBC 1 +-#endif +- +-#if defined(PJSUA_STRESS_GLIBC) && !defined(_GNU_SOURCE) ++#if defined(__linux__) && !defined(__ANDROID__) && !defined(_GNU_SOURCE) + # define _GNU_SOURCE 1 + #endif + +@@ -54,6 +50,13 @@ + #include + #include + ++/* backtrace() and the ucontext layout used below are glibc specific; ++ * musl and other Linux C libraries have neither nor ++ * REG_RIP, so only enable them for glibc (known after a libc include). */ ++#if defined(__linux__) && !defined(__ANDROID__) && defined(__GLIBC__) ++# define PJSUA_STRESS_GLIBC 1 ++#endif ++ + #if defined(PJSUA_STRESS_GLIBC) || defined(__APPLE__) + # include + # include diff --git a/meta-multimedia/recipes-multimedia/pjproject/pjproject_2.18.bb b/meta-multimedia/recipes-multimedia/pjproject/pjproject_2.18.bb index 833d717dda..9bf4b4f2db 100644 --- a/meta-multimedia/recipes-multimedia/pjproject/pjproject_2.18.bb +++ b/meta-multimedia/recipes-multimedia/pjproject/pjproject_2.18.bb @@ -12,7 +12,9 @@ SECTION = "libs" LICENSE = "GPL-2.0-or-later" LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" -SRC_URI = "git://github.com/pjsip/pjproject.git;protocol=https;branch=master;tag=${PV}" +SRC_URI = "git://github.com/pjsip/pjproject.git;protocol=https;branch=master;tag=${PV} \ + file://0001-pjsua_stress-Only-use-backtrace-and-ucontext-with-gl.patch \ + " SRCREV = "bd4a7189d83d94237b6f42f3b8274664dbe6ff94" UPSTREAM_CHECK_GITTAGREGEX = "^(?P\d+(\.\d+)+)$"