0
0
mirror of https://github.com/OpenVPN/openvpn.git synced 2024-09-19 19:42:30 +02:00
openvpn/sample
Frank Lichtenheld 2d36678a2b sample-plugins: Fix memleak in client-connect example plugin
I was looking for memleaks in the code and found
this one with cppcheck. Only an example, but no
need to leave this bug in it.

Also fix fortify problem in keying-material-exporter-demo
so I can actually test the compilation of the sample
plugins.

v2:
 - remove unneccessary usages of snprintf, replace
   with strncpy.

Change-Id: Ibd1b282afc4a28768be3f165f84ab60ca4d24a9b
Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20230516093534.26384-1-frank@lichtenheld.com>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg26668.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
2023-05-16 12:18:32 +02:00
..
sample-config-files documentation: avoid recommending --user nobody 2022-12-01 16:20:12 +01:00
sample-keys Update copyright year to 2023 2023-01-10 17:24:37 +01:00
sample-plugins sample-plugins: Fix memleak in client-connect example plugin 2023-05-16 12:18:32 +02:00
sample-scripts Add example script demonstrating TOTP via auth-pending 2022-09-11 22:32:26 +02: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 year to 2023 2023-01-10 17:24:37 +01:00