summaryrefslogtreecommitdiff
path: root/libs/pjproject/patches/0170-stun-integer-underflow.patch
diff options
context:
space:
mode:
authorSebastian Kemper <sebastian_ml@gmx.net>2022-12-03 15:41:32 +0100
committerSebastian Kemper <sebastian_ml@gmx.net>2022-12-03 15:44:30 +0100
commitf5120a46371ff75f401c1cb724c3880811bfbae0 (patch)
treefaa71092185bf5f89dd6a31e4544e552e70ee993 /libs/pjproject/patches/0170-stun-integer-underflow.patch
parente2f370462421e20cccf09aa155cb78e6ff60d0c0 (diff)
pjproject: bump to 2.12.1
This is a manual cherry-pick of a57228588602e5217b95f1e9ded0b76402cb6c72 and 472f1ac7ac867b8fbc2841c56e7d61935dba9d52. The only difference is that the uclibc-related patches were not dropped, because uclibc is used in OpenWrt 21.02. - add "--disable-android-mediacodec" to configure - add EXCLUDE_APP=1 to "make" calls so some apps aren't built (speeds up the build a bit) - drop "sed" call as no longer needed - update 0004-config_site.patch to sync up with Asterisk 18.14.0 - update 0006-fix-pkg_config-file.patch as there were some changes in this area upstream - add 0007-execinfo.patch to prevent errors due to missing <execinfo.h> - sync patches with Asterisk 18.14.0 - backports two security fixes (c4d3498 and 450baca) from pjproject 2.13, source: asterisk 20.0.1 Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Diffstat (limited to 'libs/pjproject/patches/0170-stun-integer-underflow.patch')
-rw-r--r--libs/pjproject/patches/0170-stun-integer-underflow.patch21
1 files changed, 0 insertions, 21 deletions
diff --git a/libs/pjproject/patches/0170-stun-integer-underflow.patch b/libs/pjproject/patches/0170-stun-integer-underflow.patch
deleted file mode 100644
index 519dc81..0000000
--- a/libs/pjproject/patches/0170-stun-integer-underflow.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-From 15663e3f37091069b8c98a7fce680dc04bc8e865 Mon Sep 17 00:00:00 2001
-From: sauwming <ming@teluu.com>
-Date: Tue, 10 Aug 2021 11:53:25 +0800
-Subject: [PATCH] Merge pull request from GHSA-2qpg-f6wf-w984
-
----
- pjnath/src/pjnath/stun_msg.c | 3 +++
- 1 file changed, 3 insertions(+)
-
---- a/pjnath/src/pjnath/stun_msg.c
-+++ b/pjnath/src/pjnath/stun_msg.c
-@@ -1763,6 +1763,9 @@ static pj_status_t decode_errcode_attr(p
- /* Get pointer to the string in the message */
- value.ptr = ((char*)buf + ATTR_HDR_LEN + 4);
- value.slen = attr->hdr.length - 4;
-+ /* Make sure the length is never negative */
-+ if (value.slen < 0)
-+ value.slen = 0;
-
- /* Copy the string to the attribute */
- pj_strdup(pool, &attr->reason, &value);