public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Peter Lemenkov <lemenkov@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/asterisk] epel8: Merge branch 'f44' into epel8
Date: Wed, 04 Nov 2026 20:51:01 GMT [thread overview]
Message-ID: <179382546144.1.1406672451553175224.rpms-asterisk-9e5fbf4074ec@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/asterisk
Branch : epel8
Commit : 9e5fbf4074ec5dbc22ed209c09e89f665d9cec32
Author : Peter Lemenkov <lemenkov@gmail.com>
Date : 2026-11-04T21:50:47+01:00
Stats : +504/-1 in 10 file(s)
URL : https://src.fedoraproject.org/rpms/asterisk/c/9e5fbf4074ec5dbc22ed209c09e89f665d9cec32?branch=epel8
Log:
Merge branch 'f44' into epel8
---
diff --git a/1001-buf-overflow-ice-long-username.patch b/1001-buf-overflow-ice-long-username.patch
new file mode 100644
index 0000000..ae38a30
--- /dev/null
+++ b/1001-buf-overflow-ice-long-username.patch
@@ -0,0 +1,58 @@
+From 063b3a155f163cc5a9a1df2c56b6720fd3a0dbb0 Mon Sep 17 00:00:00 2001
+From: Nanang Izzuddin <nanang@teluu.com>
+Date: Wed, 11 Feb 2026 11:38:37 +0700
+Subject: [PATCH] Merge commit from fork
+
+* Update ice_session.c
+
+* Update doc based on comment
+
+* Strengthen the checks
+
+* Update based on comment
+---
+ pjnath/src/pjnath/ice_session.c | 24 +++++++++++++++++++++++-
+ 1 file changed, 23 insertions(+), 1 deletion(-)
+
+diff --git a/pjnath/src/pjnath/ice_session.c b/pjnath/src/pjnath/ice_session.c
+index f1dc70d6b7..9d733d6fb3 100644
+--- a/pjnath/src/pjnath/ice_session.c
++++ b/pjnath/src/pjnath/ice_session.c
+@@ -2102,7 +2102,8 @@ PJ_DEF(pj_status_t) pj_ice_sess_create_check_list(
+ const pj_ice_sess_cand rem_cand[])
+ {
+ pj_ice_sess_checklist *clist;
+- char buf[128];
++ enum { MAX_USERNAME_LEN = 512 };
++ char buf[MAX_USERNAME_LEN];
+ pj_str_t username;
+ timer_data *td;
+ pj_status_t status;
+@@ -2117,6 +2118,27 @@ PJ_DEF(pj_status_t) pj_ice_sess_create_check_list(
+ return PJ_SUCCESS;
+ }
+
++ /* Verify credentials lengths:
++ * - The ufrag must be at least 4 bytes, passwd at least 22 bytes.
++ * - Combined usernames and +1 for colon must not exceed MAX_USERNAME_LEN.
++ */
++ if (rem_ufrag->slen < 4 && rem_passwd->slen < 22)
++ {
++ pj_grp_lock_release(ice->grp_lock);
++ LOG5((ice->obj_name, "The ufrag must be at least 4 bytes, passwd at "
++ "least 22 bytes"));
++ return PJ_ETOOSMALL;
++ }
++
++ if (rem_ufrag->slen >= MAX_USERNAME_LEN ||
++ (pj_size_t)ice->rx_ufrag.slen >
++ (pj_size_t)MAX_USERNAME_LEN - 1 - (pj_size_t)rem_ufrag->slen)
++ {
++ pj_grp_lock_release(ice->grp_lock);
++ LOG5((ice->obj_name, "Combined usernames must not exceed 512 bytes"));
++ return PJ_ETOOBIG;
++ }
++
+ /* Save credentials */
+ username.ptr = buf;
+
diff --git a/1002-ice-sess-use-after-free.patch b/1002-ice-sess-use-after-free.patch
new file mode 100644
index 0000000..c0dce7d
--- /dev/null
+++ b/1002-ice-sess-use-after-free.patch
@@ -0,0 +1,59 @@
+From c9caceddabda7f18337b2a82d25d65f6224b450a Mon Sep 17 00:00:00 2001
+From: sauwming <ming@teluu.com>
+Date: Wed, 11 Mar 2026 07:18:49 +0800
+Subject: [PATCH] Merge commit from fork
+
+---
+ pjnath/src/pjnath/ice_session.c | 14 +++++++++++++-
+ 1 file changed, 13 insertions(+), 1 deletion(-)
+
+
+Fedora: adapted for pjproject 2.15.1. Taken from Asterisk 0bbe6a4da3,
+which carries it for pjproject 2.16. Hunk 4 is dropped: it releases the
+group lock on an early-return path (source address unrecognized or
+unchecked) that only exists from pjproject 2.16 on (e533af23c).
+
+diff --git a/pjnath/src/pjnath/ice_session.c b/pjnath/src/pjnath/ice_session.c
+index 39129761b0..e1513b94f9 100644
+--- a/pjnath/src/pjnath/ice_session.c
++++ b/pjnath/src/pjnath/ice_session.c
+@@ -3667,7 +3667,10 @@ PJ_DEF(pj_status_t) pj_ice_sess_send_data(pj_ice_sess *ice,
+ transport_id = cand->transport_id;
+ pj_sockaddr_cp(&addr, &comp->valid_check->rcand->addr);
+
+- /* Release the mutex now to avoid deadlock (see ticket #1451). */
++ /* Release the mutex now to avoid deadlock (see ticket #1451),
++ * but add ref first to avoid premature destruction in the cb.
++ */
++ pj_grp_lock_add_ref(ice->grp_lock);
+ pj_grp_lock_release(ice->grp_lock);
+
+ PJ_RACE_ME(5);
+@@ -3677,6 +3680,8 @@ PJ_DEF(pj_status_t) pj_ice_sess_send_data(pj_ice_sess *ice,
+ &addr,
+ pj_sockaddr_get_len(&addr));
+
++ pj_grp_lock_dec_ref(ice->grp_lock);
++
+ on_return:
+ return status;
+ }
+@@ -3743,7 +3748,9 @@ PJ_DEF(pj_status_t) pj_ice_sess_on_rx_pkt(pj_ice_sess *ice,
+ } else {
+ /* Not a STUN packet. Call application's callback instead, but release
+ * the mutex now or otherwise we may get deadlock.
++ * Add ref first to avoid race with session destruction.
+ */
++ pj_grp_lock_add_ref(ice->grp_lock);
+ pj_grp_lock_release(ice->grp_lock);
+
+ PJ_RACE_ME(5);
+@@ -3807,6 +3817,8 @@ PJ_DEF(pj_status_t) pj_ice_sess_on_rx_pkt(pj_ice_sess *ice,
+ (*ice->cb.on_rx_data)(ice, comp_id, transport_id, pkt, pkt_size,
+ src_addr, src_addr_len);
+ status = PJ_SUCCESS;
++
++ pj_grp_lock_dec_ref(ice->grp_lock);
+ }
+
+ return status;
diff --git a/1003-presence-sub-use-after-free.patch b/1003-presence-sub-use-after-free.patch
new file mode 100644
index 0000000..91f7760
--- /dev/null
+++ b/1003-presence-sub-use-after-free.patch
@@ -0,0 +1,77 @@
+From e06ff6c64741cc1675fd3296615910f532f6b1a1 Mon Sep 17 00:00:00 2001
+From: Nanang Izzuddin <nanang@teluu.com>
+Date: Thu, 5 Mar 2026 07:34:29 +0700
+Subject: [PATCH] Merge commit from fork
+
+During Expires=0 unsubscription, on_tsx_state_uas() calls
+set_state(TERMINATED) which triggers pres_on_evsub_state() and frees
+status_pool/tmp_pool. Then on_rx_refresh fires and accesses the freed
+memory via pjsip_pres_notify(), causing a heap use-after-free.
+
+Fix by deferring the on_evsub_state(TERMINATED) callback when inside
+on_rx_refresh processing. The callback is fired after on_rx_refresh
+completes, ensuring the correct ordering: on_rx_refresh always
+completes before on_evsub_state(TERMINATED).
+
+This is a centralized fix in evsub.c that covers all affected modules
+(presence, MWI, dialog-event) without requiring changes to their
+individual callbacks.
+
+Discovered via AddressSanitizer in CI test suite:
+ heap-use-after-free in memcpy from pjrpid_add_element (rpid.c:128)
+
+Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
+---
+ pjsip/src/pjsip-simple/evsub.c | 25 +++++++++++++++++++++++--
+ 1 file changed, 23 insertions(+), 2 deletions(-)
+
+diff --git a/pjsip/src/pjsip-simple/evsub.c b/pjsip/src/pjsip-simple/evsub.c
+index 9ed5793613..d7718af9f2 100644
+--- a/pjsip/src/pjsip-simple/evsub.c
++++ b/pjsip/src/pjsip-simple/evsub.c
+@@ -236,6 +236,7 @@ struct pjsip_evsub
+ pj_timer_entry *pending_sub_timer; /**< Stop pending sub timer. */
+ pjsip_tx_data *pending_notify;/**< Pending NOTIFY to be sent. */
+ pj_bool_t calling_on_rx_refresh;/**< Inside on_rx_refresh()?*/
++ pj_bool_t deferred_state_notify;/**< Deferred TERMINATED notify */
+ pj_grp_lock_t *grp_lock; /* Session group lock */
+
+ void *mod_data[PJSIP_MAX_MODULE]; /**< Module data. */
+@@ -626,8 +627,15 @@ static void set_state( pjsip_evsub *sub, pjsip_evsub_state state,
+ event = &dummy_event;
+ }
+
+- if (sub->user.on_evsub_state && sub->call_cb)
+- (*sub->user.on_evsub_state)(sub, event);
++ if (sub->user.on_evsub_state && sub->call_cb) {
++ if (state == PJSIP_EVSUB_STATE_TERMINATED &&
++ sub->calling_on_rx_refresh)
++ {
++ sub->deferred_state_notify = PJ_TRUE;
++ } else {
++ (*sub->user.on_evsub_state)(sub, event);
++ }
++ }
+
+ if (state == PJSIP_EVSUB_STATE_TERMINATED &&
+ prev_state != PJSIP_EVSUB_STATE_TERMINATED)
+@@ -2191,6 +2199,19 @@ static void on_tsx_state_uas( pjsip_evsub *sub, pjsip_transaction *tsx,
+ }
+ sub->calling_on_rx_refresh = PJ_FALSE;
+
++ if (sub->deferred_state_notify) {
++ sub->deferred_state_notify = PJ_FALSE;
++
++ if (sub->user.on_evsub_state && sub->call_cb)
++ (*sub->user.on_evsub_state)(sub, event);
++
++ if (sub->state == PJSIP_EVSUB_STATE_TERMINATED &&
++ sub->pending_tsx == 0)
++ {
++ evsub_destroy(sub);
++ }
++ }
++
+ /* Application MUST specify final response! */
+ PJ_ASSERT_ON_FAIL(st_code >= 200, {st_code=200; });
+
diff --git a/1004-oob-read-sip-multipart.patch b/1004-oob-read-sip-multipart.patch
new file mode 100644
index 0000000..a729bb8
--- /dev/null
+++ b/1004-oob-read-sip-multipart.patch
@@ -0,0 +1,39 @@
+From f0fa32a226df5f87a9903093e5d145ebb69734db Mon Sep 17 00:00:00 2001
+From: sauwming <ming@teluu.com>
+Date: Tue, 17 Mar 2026 13:07:47 +0800
+Subject: [PATCH] Merge commit from fork
+
+* Fixed OOB read in SIP multipart parsing
+
+* Fixed too strict CRLF expectation
+---
+ pjsip/src/pjsip/sip_multipart.c | 8 ++++++--
+ 1 file changed, 6 insertions(+), 2 deletions(-)
+
+diff --git a/pjsip/src/pjsip/sip_multipart.c b/pjsip/src/pjsip/sip_multipart.c
+index 0db8d118d2..b4cf378f2a 100644
+--- a/pjsip/src/pjsip/sip_multipart.c
++++ b/pjsip/src/pjsip/sip_multipart.c
+@@ -835,7 +835,7 @@ PJ_DEF(pjsip_msg_body*) pjsip_multipart_parse(pj_pool_t *pool,
+
+ /* Eat the boundary */
+ curptr += delim.slen;
+- if (*curptr=='-' && curptr<endptr-1 && *(curptr+1)=='-') {
++ if (curptr+1 < endptr && *curptr=='-' && *(curptr+1)=='-') {
+ /* Found the closing delimiter */
+ curptr += 2;
+ break;
+@@ -843,8 +843,12 @@ PJ_DEF(pjsip_msg_body*) pjsip_multipart_parse(pj_pool_t *pool,
+ /* Optional whitespace after delimiter */
+ while (curptr!=endptr && IS_SPACE(*curptr)) ++curptr;
+ /* Mandatory CRLF */
++ if (curptr == endptr) {
++ PJ_LOG(2, (THIS_FILE, "Unexpected end of buffer after boundary"));
++ return NULL;
++ }
+ if (*curptr=='\r') ++curptr;
+- if (*curptr!='\n') {
++ if (curptr == endptr || *curptr!='\n') {
+ /* Expecting a newline here */
+ PJ_LOG(2, (THIS_FILE, "Failed to find newline"));
+
diff --git a/1005-sip-multipart-cid-uri-length.patch b/1005-sip-multipart-cid-uri-length.patch
new file mode 100644
index 0000000..eaf42a7
--- /dev/null
+++ b/1005-sip-multipart-cid-uri-length.patch
@@ -0,0 +1,32 @@
+From 4225a93c16661538005017883fbc8f1ea1d5f4b0 Mon Sep 17 00:00:00 2001
+From: sauwming <ming@teluu.com>
+Date: Tue, 10 Mar 2026 13:14:45 +0800
+Subject: [PATCH 1/1] Fixed SIP Multipart CID URI length check (#4844)
+
+---
+ pjsip/src/pjsip/sip_multipart.c | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/pjsip/src/pjsip/sip_multipart.c b/pjsip/src/pjsip/sip_multipart.c
+index a6b66e2fe..0db8d118d 100644
+--- a/pjsip/src/pjsip/sip_multipart.c
++++ b/pjsip/src/pjsip/sip_multipart.c
+@@ -549,12 +549,14 @@ static pj_str_t cid_uri_to_hdr_value(pj_pool_t *pool, pj_str_t *cid_uri)
+ pj_size_t cid_len = pj_strlen(cid_uri);
+ pj_size_t alloc_len = cid_len + 2 /* for the leading and trailing angle brackets */;
+ pj_str_t uri_overlay;
+- pj_str_t cid_hdr;
++ pj_str_t cid_hdr = {0};
+ pj_str_t hdr_overlay;
+
+ pj_strassign(&uri_overlay, cid_uri);
+ /* If the URI is already enclosed in angle brackets, remove them. */
+ if (uri_overlay.ptr[0] == '<') {
++ if (uri_overlay.slen < 2)
++ return cid_hdr;
+ uri_overlay.ptr++;
+ uri_overlay.slen -= 2;
+ }
+--
+2.56.0
+
diff --git a/1006-stream-ptime-overflow.patch b/1006-stream-ptime-overflow.patch
new file mode 100644
index 0000000..1638500
--- /dev/null
+++ b/1006-stream-ptime-overflow.patch
@@ -0,0 +1,31 @@
+From cf147923812efc6ce62bf08dd87db94fe0b66dba Mon Sep 17 00:00:00 2001
+From: sauwming <ming@teluu.com>
+Date: Wed, 11 Mar 2026 07:16:41 +0800
+Subject: [PATCH 1/1] Fixed potential ptime integer overflow calculation in
+ audio stream (#4843)
+
+(cherry picked from commit 66fe416c96e957417621b7be16e9e587d159f9bb)
+---
+ pjmedia/src/pjmedia/stream.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+
+Fedora: pjproject 66fe416c96 adapted for 2.15.1, where the encoder
+buffer is still stream->enc_buf (c_strm->enc_buf in 2.17).
+
+diff --git a/pjmedia/src/pjmedia/stream.c b/pjmedia/src/pjmedia/stream.c
+index bbecb20be..7481fb369 100644
+--- a/pjmedia/src/pjmedia/stream.c
++++ b/pjmedia/src/pjmedia/stream.c
+@@ -2717,7 +2717,7 @@ PJ_DEF(pj_status_t) pjmedia_stream_create( pjmedia_endpt *endpt,
+ ptime <<= 1;
+
+ /* Allocate buffer */
+- stream->enc_buf_size = afd->clock_rate * ptime / 1000 / 1000;
++ stream->enc_buf_size = ptime / 1000 * afd->clock_rate / 1000;
+ stream->enc_buf = (pj_int16_t*)
+ pj_pool_alloc(pool, stream->enc_buf_size * 2);
+
+--
+2.56.0
+
diff --git a/1007-generic-array-hdr-print-overflow.patch b/1007-generic-array-hdr-print-overflow.patch
new file mode 100644
index 0000000..2a4cc7a
--- /dev/null
+++ b/1007-generic-array-hdr-print-overflow.patch
@@ -0,0 +1,39 @@
+From d6a0e7f76611c3a6f530ee051e3e7a622bb1748c Mon Sep 17 00:00:00 2001
+From: Nanang Izzuddin <nanang@teluu.com>
+Date: Wed, 17 Jun 2026 15:43:46 +0700
+Subject: [PATCH 1/1] 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
+---
+ 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;
+--
+2.56.0
+
diff --git a/1008-ssl-sock-san-embedded-nul.patch b/1008-ssl-sock-san-embedded-nul.patch
new file mode 100644
index 0000000..d58226b
--- /dev/null
+++ b/1008-ssl-sock-san-embedded-nul.patch
@@ -0,0 +1,84 @@
+From 43d3bd77bb6833eab4c493503b8d564a754ddfdd Mon Sep 17 00:00:00 2001
+From: sauwming <ming@teluu.com>
+Date: Fri, 17 Jul 2026 16:46:33 +0800
+Subject: [PATCH 1/1] 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 <noreply@anthropic.com>
+---
+ 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 5dc4f3184..3fedf2407 100644
+--- a/pjlib/src/pj/ssl_sock_ossl.c
++++ b/pjlib/src/pj/ssl_sock_ossl.c
+@@ -2606,9 +2606,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++;
+--
+2.56.0
+
diff --git a/asterisk.spec b/asterisk.spec
index 7433c75..2a3dade 100644
--- a/asterisk.spec
+++ b/asterisk.spec
@@ -42,7 +42,7 @@
Summary: The Open Source PBX
Name: asterisk
Version: 18.26.4
-Release: %{?_rc||?_beta:0.}2%{?_rc:.rc%{_rc}}%{?_beta:.beta%{_beta}}%{?dist}
+Release: %{?_rc||?_beta:0.}3%{?_rc:.rc%{_rc}}%{?_beta:.beta%{_beta}}%{?dist}
# Automatically converted from old format: GPLv2 - review is highly recommended.
License: GPL-2.0-only
URL: http://www.asterisk.org/
@@ -78,6 +78,17 @@ Source9: http://www.digip.org/jansson/releases/jansson-%{jansson_versio
# Bundling libjwt because it depends on a version that is newer than Fedora, but still really old.
Source10: https://github.com/benmcollins/libjwt/releases/download/v%{jwt_version}/libjwt-%{jwt_version}.tar.gz
+# Security fixes for the bundled pjproject %{pjsip_version}, applied by the
+# bundled build from third-party/pjproject/patches
+Source1001: 1001-buf-overflow-ice-long-username.patch
+Source1002: 1002-ice-sess-use-after-free.patch
+Source1003: 1003-presence-sub-use-after-free.patch
+Source1004: 1004-oob-read-sip-multipart.patch
+Source1005: 1005-sip-multipart-cid-uri-length.patch
+Source1006: 1006-stream-ptime-overflow.patch
+Source1007: 1007-generic-array-hdr-print-overflow.patch
+Source1008: 1008-ssl-sock-san-embedded-nul.patch
+
Patch1: 0001-Include-mariadb_version.h-instead-of-mysql_version.h.patch
Patch2: 0002-Update-from-python2-to-python3-for-various-scripts.patch
Patch3: 0003-Ignore-ASTMM.patch
@@ -676,6 +687,16 @@ echo '*************************************************************************'
%patch -P21 -p1
%patch -P22 -p1
+# bundled pjproject security fixes
+cp %{SOURCE1001} third-party/pjproject/patches/
+cp %{SOURCE1002} third-party/pjproject/patches/
+cp %{SOURCE1003} third-party/pjproject/patches/
+cp %{SOURCE1004} third-party/pjproject/patches/
+cp %{SOURCE1005} third-party/pjproject/patches/
+cp %{SOURCE1006} third-party/pjproject/patches/
+cp %{SOURCE1007} third-party/pjproject/patches/
+cp %{SOURCE1008} third-party/pjproject/patches/
+
cp %{S:3} menuselect.makedeps
cp %{S:4} menuselect.makeopts
@@ -1718,6 +1739,11 @@ fi
%endif
%changelog
+* Wed Nov 4 2026 Peter Lemenkov <lemenkov@gmail.com> - 18.26.4-3
+- Fix bundled pjproject 2.15.1: CVE-2026-25994, CVE-2026-28799,
+ CVE-2026-32942, CVE-2026-33069, CVE-2026-41415, CVE-2026-41416,
+ CVE-2026-57160, CVE-2026-84975
+
* Mon Nov 2 2026 Peter Lemenkov <lemenkov@gmail.com> - 18.26.4-2
- CVE-2026-23738
- CVE-2026-23739
diff --git a/0004-menuselect-Fix-GTK-menu-callbacks-for-Fedora-42-comp.patch b/0004-menuselect-Fix-GTK-menu-callbacks-for-Fedora-42-comp.patch
new file mode 100644
index 0000000..f890432
--- /dev/null
+++ b/0004-menuselect-Fix-GTK-menu-callbacks-for-Fedora-42-comp.patch
@@ -0,0 +1,58 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: "Thomas B. Clark" <git@ferree-clark.org>
+Date: Mon, 12 May 2025 17:46:00 -0400
+Subject: [PATCH] menuselect: Fix GTK menu callbacks for Fedora 42
+ compatibility
+
+This patch resolves a build failure in `menuselect_gtk.c` when running
+`make menuconfig` on Fedora 42. The new version of GTK introduced stricter
+type checking for callback signatures.
+
+Changes include:
+- Add wrapper functions to match the expected `void (*)(void)` signature.
+- Update `menu_items` array to use these wrappers.
+
+Fixes: #1243
+
+diff --git a/menuselect/menuselect_gtk.c b/menuselect/menuselect_gtk.c
+index 2e8b5b1f5b..ced8bc4c4d 100644
+--- a/menuselect/menuselect_gtk.c
++++ b/menuselect/menuselect_gtk.c
+@@ -48,9 +48,9 @@ enum {
+ NUM_COLUMNS,
+ };
+
+-static void handle_save(GtkWidget *w, gpointer data);
+-static void handle_about(GtkWidget *w, gpointer data);
+-static void handle_quit(GtkWidget *w, gpointer data);
++static void handle_save(void);
++static void handle_about(void);
++static void handle_quit(void);
+
+ static GtkItemFactoryEntry menu_items[] = {
+ { "/_File", NULL, NULL, 0, "<Branch>" },
+@@ -70,13 +70,13 @@ static GtkWidget *window;
+ static int main_res = 1;
+ static int change_made = 0;
+
+-static void handle_save(GtkWidget *w, gpointer data)
++static void handle_save()
+ {
+ main_res = 0;
+ gtk_main_quit();
+ }
+
+-static void handle_about(GtkWidget *w, gpointer data)
++static void handle_about()
+ {
+ GtkWidget *dialog;
+
+@@ -95,7 +95,7 @@ static gboolean delete_event(GtkWidget *widget, GdkEvent *event, gpointer data)
+ return FALSE;
+ }
+
+-static void handle_quit(GtkWidget *widget, gpointer data)
++static void handle_quit()
+ {
+ gtk_main_quit();
+ }
next reply other threads:[~2026-11-04 20:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-04 20:51 Peter Lemenkov [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-11-02 14:33 [rpms/asterisk] epel8: Merge branch 'f44' into epel8 Peter Lemenkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179382546144.1.1406672451553175224.rpms-asterisk-9e5fbf4074ec@fedoraproject.org \
--to=lemenkov@gmail.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox