Closed paniksystem closed 3 years ago
Second size parameter should be MAX_NUMERICSERV_LEN instead of MAX_NUMERICNODE_LENx2
char nodebuffer[MAX_NUMERICNODE_LEN]; char servbuffer[MAX_NUMERICSERV_LEN]; if (getnameinfo(p->ai_addr, p->ai_addrlen, nodebuffer, MAX_NUMERICNODE_LEN, servbuffer, MAX_NUMERICNODE_LEN, NI_NUMERICHOST | NI_NUMERICSERV) == 0)
in icetransport (libnice) for both STUN and TURN servers
Good catch, fixed in https://github.com/paullouisageneau/libdatachannel/commit/412f94dd96711fd6a66770048737eff7f7a687d0
Second size parameter should be MAX_NUMERICSERV_LEN instead of MAX_NUMERICNODE_LENx2
in icetransport (libnice) for both STUN and TURN servers