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/0070-fix-incorrect-copying-when-creating-cancel.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/0070-fix-incorrect-copying-when-creating-cancel.patch')
| -rw-r--r-- | libs/pjproject/patches/0070-fix-incorrect-copying-when-creating-cancel.patch | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/libs/pjproject/patches/0070-fix-incorrect-copying-when-creating-cancel.patch b/libs/pjproject/patches/0070-fix-incorrect-copying-when-creating-cancel.patch deleted file mode 100644 index c8e4b4c..0000000 --- a/libs/pjproject/patches/0070-fix-incorrect-copying-when-creating-cancel.patch +++ /dev/null @@ -1,32 +0,0 @@ -From ce18018cc17bef8f80c08686e3a7b28384ef3ba5 Mon Sep 17 00:00:00 2001 -From: sauwming <ming@teluu.com> -Date: Mon, 12 Oct 2020 13:31:25 +0800 -Subject: [PATCH] Fix incorrect copying of destination info when creating - CANCEL (#2546) - ---- - pjsip/src/pjsip/sip_util.c | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - ---- a/pjsip/src/pjsip/sip_util.c -+++ b/pjsip/src/pjsip/sip_util.c -@@ -779,14 +779,14 @@ PJ_DEF(pj_status_t) pjsip_endpt_create_c - pjsip_hdr_clone(cancel_tdata->pool, req_tdata->saved_strict_route); - } - -- /* Copy the destination host name from the original request */ -- pj_strdup(cancel_tdata->pool, &cancel_tdata->dest_info.name, -- &req_tdata->dest_info.name); -- -- /* Finally copy the destination info from the original request */ -+ /* Copy the destination info from the original request */ - pj_memcpy(&cancel_tdata->dest_info, &req_tdata->dest_info, - sizeof(req_tdata->dest_info)); - -+ /* Finally, copy the destination host name from the original request */ -+ pj_strdup(cancel_tdata->pool, &cancel_tdata->dest_info.name, -+ &req_tdata->dest_info.name); -+ - /* Done. - * Return the transmit buffer containing the CANCEL request. - */ |
