mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 00:37:00 +08:00
use safe_memset() when overwritting the group configuration
This commit is contained in:
@@ -241,5 +241,5 @@ unsigned i;
|
||||
talloc_free(config->ipv6_network);
|
||||
talloc_free(config->ipv4_netmask);
|
||||
talloc_free(config->ipv6_netmask);
|
||||
memset(config, 0, sizeof(*config));
|
||||
safe_memset(config, 0, sizeof(*config));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user