0
0
mirror of https://github.com/OpenVPN/openvpn.git synced 2024-09-20 03:52:28 +02:00
openvpn/sample/sample-plugins
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
..
defer Handle NULL returns from calloc() in sample plugins. 2020-09-11 19:42:22 +02:00
keying-material-exporter-demo Handle NULL returns from calloc() in sample plugins. 2020-09-11 19:42:22 +02:00
log Handle NULL returns from calloc() in sample plugins. 2020-09-11 19:42:22 +02:00
simple Handle NULL returns from calloc() in sample plugins. 2020-09-11 19:42:22 +02:00