openvpn/sample
Gert Doering a61c08a2c8 Handle NULL returns from calloc() in sample plugins.
This is basic housekeeping, adding NULL checks to context initialization
of the sample plugin collection which are missing it.  Realistically,
this can never happen, but since these are supposed to be "good examples",
not checking calloc() return isn't one.

Trac: #587

Reported-By: Dogbert (in Trac)
Signed-off-by: Gert Doering <gert@greenie.muc.de>
Acked-by: David Sommerseth <davids@openvpn.net>
Message-Id: <20200909104837.6123-1-gert@greenie.muc.de>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg20922.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
2020-09-11 19:42:22 +02:00
..
sample-config-files Rename ncp-ciphers to data-ciphers 2020-07-27 10:02:54 +02:00
sample-keys Implement --genkey type keyfile syntax and migrate tls-crypt-v2 2019-07-05 12:32:49 +02:00
sample-plugins Handle NULL returns from calloc() in sample plugins. 2020-09-11 19:42:22 +02:00
sample-scripts build: standard directory layout 2012-03-22 22:07:08 +01:00
sample-windows Implement --genkey type keyfile syntax and migrate tls-crypt-v2 2019-07-05 12:32:49 +02:00
Makefile.am Update copyright to include 2018 plus company name change 2018-02-01 08:29:21 +01:00