]> 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)
committerSean Bright <sean@seanbright.com>
Thu, 13 Mar 2025 13:13:56 +0000 (13:13 +0000)
commit3a9d7438e05695cb29e169df773f5d3a6debd517
treed1ca53606c11fc1187b2ac0bd36ee6d7057f853d
parentc4123901e5c13ab8c4b010bce9e274ceda695850
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
res/res_rtp_asterisk.c