Commit 22571f1a authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

More conservative buffer size

parent 212e8d2f
......@@ -278,7 +278,7 @@ static int announce_SAPAnnounceAdd( sap_handler_t *p_sap,
if( p_method->psz_address == NULL )
{
/* Determine SAP multicast address automatically */
char psz_buf[NI_MAXHOST], *ptr;
char psz_buf[NI_MAXNUMERICHOST], *ptr;
const char *psz_addr;
struct addrinfo hints, *res;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment