[vlc-devel] [vlc-commits] src: fix crash in getaddrinfo due to bugs in the OSX runtime
Rémi Denis-Courmont
remi at remlab.net
Thu Jul 4 19:33:15 CEST 2013
Le jeudi 4 juillet 2013 20:27:08, Felix Paul Kühne a écrit :
> For your reference: the python people are experiencing the same crashes in
> the code base and mitigate it with a similar hack:
> http://bugs.python.org/issue17269
If the AI_NUMERICSERV flag is specified, then a non-null servname
string supplied shall be a numeric port string. Otherwise, an
[EAI_NONAME] error shall be returned. This flag shall prevent any
type of name resolution service (for example, NIS+) from being
invoked.
If VLC passes NULL, then VLC has a bug but this patch is not a correct fix.
If VLC passes "0", then VLC is doing just the right thing.
--
Rémi Denis-Courmont
http://www.remlab.net/
More information about the vlc-devel
mailing list