Re: [Openvpn-devel] [PATCH] Check previously-unchecked buf_alloc_write() call in crypto self-test.

2016-11-08 Thread Steffan Karger
On 08-11-16 10:17, Gert Doering wrote: > "It cannot be NULL", but since this is self-test infrastructure, assume > the worst - add ASSERT() check to ensure assumptions are true. > > Found by Coverity. > > Signed-off-by: Gert Doering > --- > src/openvpn/crypto.c | 5 - > 1 file changed, 4 in

[Openvpn-devel] [PATCH] Check previously-unchecked buf_alloc_write() call in crypto self-test.

2016-11-08 Thread Gert Doering
"It cannot be NULL", but since this is self-test infrastructure, assume the worst - add ASSERT() check to ensure assumptions are true. Found by Coverity. Signed-off-by: Gert Doering --- src/openvpn/crypto.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/openvpn/cryp