]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_rtp_asterisk.c: Don't truncate spec-compliant `ice-ufrag` or `ice-pwd`.
authorSean Bright <sean@seanbright.com>
Fri, 7 Mar 2025 16:32:00 +0000 (11:32 -0500)
committerAsterisk Development Team <asteriskteam@digium.com>
Thu, 20 Mar 2025 18:18:29 +0000 (18:18 +0000)
commit4cdb905f7fafefed22f15093f9cd1da0b934eef6
tree6a97681b21742a4309a7001ebd78295e67e3e642
parent19b28fcf1e238d44cb9e71868974b1c57cb20de9
res_rtp_asterisk.c: Don't truncate spec-compliant `ice-ufrag` or `ice-pwd`.

RFC 8839[1] indicates that the `ice-ufrag` and `ice-pwd` attributes
can be up to 256 bytes long. While we don't generate values of that
size, we should be able to accomodate them without truncating.

1. https://www.rfc-editor.org/rfc/rfc8839#name-ice-ufrag-and-ice-pwd-attri

(cherry picked from commit 3cafe10d2135ba7616c39a3aee1c9b330a4d6343)
res/res_rtp_asterisk.c