projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
src/net_socket.c bind_to_address(): Use after free in error path.
[tinc]
/
src
/
conf.c
diff --git
a/src/conf.c
b/src/conf.c
index
30ac585
..
593cd0c
100644
(file)
--- a/
src/conf.c
+++ b/
src/conf.c
@@
-188,7
+188,7
@@
bool get_config_address(const config_t *cfg, struct addrinfo **result) {
}
bool get_config_subnet(const config_t *cfg, subnet_t ** result) {
- subnet_t subnet = {
0
};
+ subnet_t subnet = {
NULL
};
if(!cfg)
return false;