reSIProcate project
reSIProcate
Mailing Lists
Source Code
Google Search:
reSIProcate site
Web Search
< Previous by Date
Date Index
Next by Date >
Thread Index
Next in Thread >
[reSIProcate-users] Maybe a bug in DnsUtil
From
: Karlsson <
boost.regex@xxxxxxxxx
>
Date
: Sun, 2 Nov 2014 09:15:26 +0800
In the DnsUtil.xx, below code:
int res = getaddrinfo(buffer, 0, &hints, &result);
if (!res)
{
// !jf! this should really use the Data class
if (strchr(result->ai_canonname, '.') != 0)
{
strncpy(buffer, result->ai_canonname, sizeof(buffer));
}
}
It's seems sometime the result is NULL will cause the app crashed.
BRs
Follow-Ups
:
Re: [reSIProcate-users] Maybe a bug in DnsUtil
From:
Dale R. Worley
Re: [reSIProcate-users] Maybe a bug in DnsUtil
From:
slgodin
Prev by Date:
[reSIProcate-users] Possible issue on WebSockets transport.
Next by Date:
Re: [reSIProcate-users] Maybe a bug in DnsUtil
Previous by thread:
Re: [reSIProcate-users] Possible issue on WebSockets transport.
Next by thread:
Re: [reSIProcate-users] Maybe a bug in DnsUtil
Index(es):
Date
Thread
webmaster AT resiprocate DOT org
reSIProcate Privacy Policy