]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip: Use reasonable buffer lengths for endpoint identification
authorSean Bright <sean.bright@gmail.com>
Fri, 17 Nov 2017 15:57:54 +0000 (10:57 -0500)
committerSean Bright <sean.bright@gmail.com>
Fri, 17 Nov 2017 16:22:10 +0000 (11:22 -0500)
commit3c72064d3fdc246ead752bb00b74620a4c05186f
treedd39eee954f1ede5871da834648249b3d9351691
parentef8ee3ee69fb1b2f9bb2694217d8dfdf124d251f
res_pjsip: Use reasonable buffer lengths for endpoint identification

Domains themselves can be up to 255 characters long (per RFC 1035), so
our current buffer sizes are wholly inadequate for many use cases.

Change-Id: If3f30a68307f1365a1fe06bc4b854c62842c9292
res/res_pjsip_endpoint_identifier_anonymous.c
res/res_pjsip_endpoint_identifier_user.c