Benoit Maricau
9698973600
minissdpc.c: fix memory allocation error
...
No room allocated for end of strings ("\0")
2023-07-14 14:04:39 +02:00
Thomas Bernard
a765292fd7
upnpc.c: Rewrite usage
2023-06-29 11:49:11 +02:00
Thomas Bernard
1865947a57
fix and complete error messages for errors 7xx
2023-06-27 01:12:36 +02:00
Thomas Bernard
b557fdf4db
miniupnpc: Make User-Agent compliant.
2023-06-16 00:38:07 +02:00
Thomas Bernard
51fa714bbb
upnpc.c: proceed with UpdatePinhole for most CheckPinholeWorking errors
2023-06-12 01:18:59 +02:00
Thomas Bernard
e663006e68
upnpc.c: GetListOfPortMappings NewStartPort 0 => 1
...
that's no point in listing port mappings with port from 0 to 65535,
1 to 65535 is OK ;)
2023-06-05 09:15:53 +02:00
Thomas Bernard
5861f92425
upnpc.c: CheckPinholeWorking is optional
...
Error 602 should be returned if it is not implemented
see #658
2023-05-30 00:29:15 +02:00
Thomas Bernard
cd703d4cd0
upnperrors.c: add 60x errors from UPnP Device Architecture
2023-05-30 00:28:04 +02:00
Thomas Bernard
ec57d80849
2022 => 2023
2023-01-26 23:49:41 +01:00
Thomas Bernard
b10c247fb1
upnpc.c: prevent warning with gcc 10 and 11
...
src/upnpc.c:153:37: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 6 [-Wformat-truncation=]
153 | snprintf(index, 6, "%d", i);
| ^~
src/upnpc.c:153:36: note: directive argument in the range [0, 2147483647]
153 | snprintf(index, 6, "%d", i);
| ^~~~
Somehow the static analyser fails to recognize that 0 <= i < 65536
see #643
2023-01-26 23:44:26 +01:00
Thomas Bernard
51f185fd13
upnpc.c: use of @ to replace local lan address
...
example :
$ upnpc-static -a @ 9999 9999 TCP
fixes #532
2022-02-20 00:27:34 +01:00
Sergey Ponomarev
1479881003
minixml.c sync sources
...
In the commit a0573e2518
was fixed a buffer overflow in the minixml.c but it wasn't copied to upnpc-async.
To make comparison simpler the header was also synced
2022-01-27 11:29:16 +02:00
Thomas Bernard
f1dc690c3d
pythonmodule: allow to specify root desc url as selectigd() argument
...
fixes #571
2021-11-09 19:55:22 +01:00
Thomas Bernard
d61d3e6b66
miniupnpcmodules.c: #include <structmember.h>
...
à la place de #include "structmember.h"
2021-09-28 23:45:41 +02:00
Thomas Bernard
92b1c8198d
WIP. Reorganize src build directories
2021-08-22 23:26:04 +02:00