[Openvpn-devel] [PATCH] Fix NULL dereferencing

2015-02-06 Thread Lev Stipakov
In certain cases buf.len can be -1, which causes BPTR to return NULL and NULL pointer dereferencing on the next line. As a fix, process only packets with non-zero length. --- src/openvpn/mudp.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/openvpn/mudp.c b/src/o

[Openvpn-devel] [PATCH applied] Re: Fix NULL dereferencing

2015-02-06 Thread Gert Doering
Your patch has been applied to the master branch. commit 2350d709e4d3c28d8850b5106169d799fdad5a29 Author: Lev Stipakov List-Post: openvpn-devel@lists.sourceforge.net Date: Fri Feb 6 14:38:00 2015 +0200 Fix NULL dereferencing Acked-by: Gert Doering Message-Id: <1423226280-9580-1

[Openvpn-devel] [PATCH] Fix mismatch of fprintf format specifier and argument type

2015-02-06 Thread Jonathan K. Bullard
This fixes a warning about a mismatch between a fprintf format string and an argument type on Darwin-64-bit builds: %lu specifies type 'unsigned long' but the argument has type '__darwin_suseconds_t' (aka 'int') --- openvpn/src/openvpn/error.c 2015-01-23 13:17:50.0 -0500 +++ patched/src/op