Re: [Openvpn-devel] [PATCH] Fix stack overflow in OpenSolaris NEXTADDR()

2020-08-14 Thread Arne Schwabe
Am 13.08.20 um 12:13 schrieb Gert Doering: > Commit 5fde831c5807 fixed NEXTADDR() for all *BSDs and MacOS. > > OpenSolaris has to use a slightly different macro due to lack of > sockaddr->sa_len - but it has the same problem, first rounding up, > then memmove()'ing. Switch order. > > Signed-off-

[Openvpn-devel] [PATCH] Fix stack overflow in OpenSolaris NEXTADDR()

2020-08-13 Thread Gert Doering
Commit 5fde831c5807 fixed NEXTADDR() for all *BSDs and MacOS. OpenSolaris has to use a slightly different macro due to lack of sockaddr->sa_len - but it has the same problem, first rounding up, then memmove()'ing. Switch order. Signed-off-by: Gert Doering --- src/openvpn/route.c | 2 +- 1 file