openvpn/sample/sample-plugins/log
Gert Doering 2b8dda6911 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>
(cherry picked from commit a61c08a2c8)
2020-09-11 19:43:16 +02:00
..
build plugin: Extend the plug-in v3 API to identify the SSL implementation used 2013-07-03 21:20:59 +02:00
log.c Handle NULL returns from calloc() in sample plugins. 2020-09-11 19:43:16 +02:00
log_v3.c Handle NULL returns from calloc() in sample plugins. 2020-09-11 19:43:16 +02:00
winbuild build: integrate plugins build into core build 2012-06-26 11:29:02 +02:00