MT#55283 Increase input buffer size for getaddrinfo to 256

Previously, rtpengine would refuse to resolve any hostnames longer than
64 characters.

Closes #2061

Change-Id: I5fe6c05f59a449f6e3b6b0f403d438626905101b
(cherry picked from commit 694a3b0579)
(cherry picked from commit 3bb63f679e)
mr13.5.1
Alexander Bakker 6 days ago committed by Richard Fuchs
parent bb65a0e707
commit 065803014e

@ -695,7 +695,7 @@ bool sockaddr_getaddrinfo_alt(sockaddr_t *a, sockaddr_t *a2, const char *s) {
bool endpoint_parse_any_getaddrinfo_alt(endpoint_t *d, endpoint_t *d2, const char *s) {
unsigned int len;
const char *ep;
char buf[64];
char buf[256];
ep = strrchr(s, ':');
if (!ep) {

Loading…
Cancel
Save