summaryrefslogtreecommitdiff
path: root/src/ipcpd/shim-udp/main.c
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@intec.ugent.be>2016-05-10 19:17:32 +0200
committerSander Vrijders <sander.vrijders@intec.ugent.be>2016-05-10 19:17:32 +0200
commit70e6fe6d9f16256f8883f29625653b0bb24b9641 (patch)
tree03c091d12b9b3b719d5e18b516df0341b5e2b3c5 /src/ipcpd/shim-udp/main.c
parente32a1b1c1add67ebe82ef6a3e45ae8b51f9f2e97 (diff)
parentdf7ee937bae72b11802f84a5f4c1802b623e2dcc (diff)
downloadouroboros-70e6fe6d9f16256f8883f29625653b0bb24b9641.tar.gz
ouroboros-70e6fe6d9f16256f8883f29625653b0bb24b9641.zip
Merged in sandervrijders/ouroboros/be (pull request #73)
ipcpd: Fix unitialized value
Diffstat (limited to 'src/ipcpd/shim-udp/main.c')
-rw-r--r--src/ipcpd/shim-udp/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ipcpd/shim-udp/main.c b/src/ipcpd/shim-udp/main.c
index bb5c233f..ef7b9909 100644
--- a/src/ipcpd/shim-udp/main.c
+++ b/src/ipcpd/shim-udp/main.c
@@ -538,8 +538,8 @@ static uint32_t ddns_resolve(char * name, uint32_t dns_addr)
char dnsstr[INET_ADDRSTRLEN];
char buf[SHIM_UDP_BUF_SIZE];
ssize_t count = 0;
- char * substr;
- char * substr2;
+ char * substr = NULL;
+ char * substr2 = NULL;
char * addr_str = "Address:";
uint32_t ip_addr = 0;