Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tunnel: Fix uninitialized struct on stack
Some `struct tunnel` sub-properties may be read whereas the structure is not initialized, like in `ipv4.c`: sprintf(env_var, "VPN_ROUTE_DEST_%d", tunnel->ipv4.split_routes); This commits `memset`s the structure to zero to avoid strange behaviours. Thanks to @mata-p for finding this out. Fixes: #55
- Loading branch information