libupnp/upnp
Fabrice Fontaine 11f05dc09d Fix getaddrinfo() loop
Commit b116d10f did the following change:
    Use switch, int and sa_family_t with AF_INET in uri.c.

This breaks when getaddrinfo() only returns a single record, as in that
case the "break" only exits the switch statement and the loop-step
"res=res->ai_next" is still executed. After that "res == NULL" is
wrongly interpreted as not having found an AF_INET or AF_INET6 address.

Signed-off-by: Marcelo Roberto Jimenez <mroberto@users.sourceforge.net>
(cherry picked from commit faaef39a3c)
2014-09-22 11:36:10 -03:00
..
doc Include prebuilt documentation (html,pdf), dropping doc++ dependancy. 2006-07-06 12:37:29 +00:00
inc Fix memory leaks caused by DOMString members. 2014-02-20 14:18:02 -03:00
m4 Remove excessive 'dnl's from libupnp.m4. 2010-06-26 11:09:06 +00:00
sample tv_ctrlpt crashes after detecting a later version of tvcontrol service 2013-10-29 17:57:46 -02:00
src Fix getaddrinfo() loop 2014-09-22 11:36:10 -03:00
test Merge of Mac OS X patch from Stéphane Corthésy (davelopper), 2007-08-06 02:07:41 +00:00
unittest .gitignore for unittest/templates/*.pp.c. 2010-10-21 00:52:09 -02:00
LICENSE Removing unnecessary additional directory level. 2006-07-04 02:44:17 +00:00
Makefile.am reverted the uuid functions export, too complicated to export them properly in the upnp.so file. 2013-04-27 09:30:29 +02:00