virtualx-engine/thirdparty/miniupnpc/miniupnpc
Fabio Alessandrelli 50f0f51604 [Net] Fix miniupnpc when no interface is specified
This is a tricky one, it used to work, but it was wrong, because in such
a scenario instead of passing NULL as required by the API, it would pass
a buffer containing the `\0` terminator.
This stopped working on a specific miniupnpc version, when they fixed
some network endianess issue on Windows, to which we made a workaround,
which in turn would probably result in failures when the interface is
specified.

This commit address the issue properly, by checking the specified
interface string size, and correctly passing NULL instead of the empty
string when necessary.

Also reverts the commit that introduced the bogus workaround:
388adac947

One of those PR when the explanation is much longer then code changes
:).
2021-03-15 18:12:05 +01:00
..
codelength.h Update miniupnpc library to latest master 2019-06-30 17:49:40 +02:00
connecthostport.c miniupnpc: Sync with upstream master (0ab1d67) 2019-11-12 09:06:31 +01:00
connecthostport.h Update miniupnpc library to latest master 2019-06-30 17:49:40 +02:00
igd_desc_parse.c Update miniupnpc library to latest master 2019-06-30 17:49:40 +02:00
igd_desc_parse.h Update miniupnpc library to latest master 2019-06-30 17:49:40 +02:00
listdevices.c Update miniupnpc library to latest master 2019-06-30 17:49:40 +02:00
minisoap.c Update miniupnpc library to latest master 2019-06-30 17:49:40 +02:00
minisoap.h Update miniupnpc library to latest master 2019-06-30 17:49:40 +02:00
minissdpc.c [Net] Fix miniupnpc when no interface is specified 2021-03-15 18:12:05 +01:00
minissdpc.h Update miniupnpc library to latest master 2019-06-30 17:49:40 +02:00
miniupnpc.c miniupnpc: Sync with upstream master (0ab1d67) 2019-11-12 09:06:31 +01:00
miniupnpc.h
miniupnpc_declspec.h Update miniupnpc library to latest master 2019-06-30 17:49:40 +02:00
miniupnpc_socketdef.h Update miniupnpc library to latest master 2019-06-30 17:49:40 +02:00
miniupnpcmodule.c Update miniupnpc library to latest master 2019-06-30 17:49:40 +02:00
miniupnpcstrings.h Update miniupnpc library to latest master 2019-06-30 17:49:40 +02:00
miniupnpctypes.h Update miniupnpc library to latest master 2019-06-30 17:49:40 +02:00
miniwget.c Update miniupnpc library to latest master 2019-06-30 17:49:40 +02:00
miniwget.h
miniwget_private.h Update miniupnpc library to latest master 2019-06-30 17:49:40 +02:00
minixml.c Update miniupnpc library to latest master 2019-06-30 17:49:40 +02:00
minixml.h Update miniupnpc library to latest master 2019-06-30 17:49:40 +02:00
minixmlvalid.c Update miniupnpc library to latest master 2019-06-30 17:49:40 +02:00
portlistingparse.c miniupnpc: Sync with upstream master (4436632) 2020-03-06 23:54:24 +01:00
portlistingparse.h Update miniupnpc library to latest master 2019-06-30 17:49:40 +02:00
receivedata.c Update miniupnpc library to latest master 2019-06-30 17:49:40 +02:00
receivedata.h Update miniupnpc library to latest master 2019-06-30 17:49:40 +02:00
upnpc.c miniupnpc: Sync with upstream master (4436632) 2020-03-06 23:54:24 +01:00
upnpcommands.c Update miniupnpc library to latest master 2019-06-30 17:49:40 +02:00
upnpcommands.h Update miniupnpc library to latest master 2019-06-30 17:49:40 +02:00
upnpdev.c Update miniupnpc library to latest master 2019-06-30 17:49:40 +02:00
upnpdev.h Update miniupnpc library to latest master 2019-06-30 17:49:40 +02:00
upnperrors.c miniupnpc: Sync with upstream master (0ab1d67) 2019-11-12 09:06:31 +01:00
upnperrors.h Update miniupnpc library to latest master 2019-06-30 17:49:40 +02:00
upnpreplyparse.c Update miniupnpc library to latest master 2019-06-30 17:49:40 +02:00
upnpreplyparse.h Update miniupnpc library to latest master 2019-06-30 17:49:40 +02:00