[asterisk-dev] [Code Review] Add getnameinfo() to ast_sockaddr_resolve ()
Tilghman Lesher
tilghman at meg.abyt.es
Thu May 5 21:02:36 CDT 2011
On Thursday 05 May 2011 13:32:08 Simon Perreault wrote:
> On 2011-05-05 14:28, Simon Perreault wrote:
> > IPv4address = 1*3DIGIT "." 1*3DIGIT "." 1*3DIGIT "." 1*3DIGIT
>
> Hmmm...
>
> Looks like interpreting "1050" as an IPv4 address is wrong according to
> SIP.
>
> So we need a grammar check before feeding it to getaddrinfo().
>
> Was that your point?
Yes. The problem is that getaddrinfo() wasn't designed with the SIP
grammar in mind.
--
Tilghman
More information about the asterisk-dev
mailing list