diff options
| author | Jiri Slachta <jiri@slachta.eu> | 2022-12-03 17:15:19 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-03 17:15:19 +0100 |
| commit | 920fbc5c0a2e4badf51bceff42e9a1e3eb693462 (patch) | |
| tree | d027ebd2d7d52d52ce275b4f0f77de919acd3f66 /libs/pjproject/patches/0170-stun-integer-underflow.patch | |
| parent | e2f370462421e20cccf09aa155cb78e6ff60d0c0 (diff) | |
| parent | 4f4e681c20ac28976ea7487957d14b20674d7d93 (diff) | |
Merge pull request #793 from micmac1/ast-18.5.1-21.02openwrt-21.02
[21.02] asterisk: bump to 18.15.1
Diffstat (limited to 'libs/pjproject/patches/0170-stun-integer-underflow.patch')
| -rw-r--r-- | libs/pjproject/patches/0170-stun-integer-underflow.patch | 21 |
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); |
