From 50e325c230728a8bd0519103f48de4738b45675f Mon Sep 17 00:00:00 2001 From: Kaian Date: Mon, 1 Feb 2016 11:55:56 +0100 Subject: [PATCH] Call Flow: fixed a crash checking local IP addresses. #89 --- src/capture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/capture.c b/src/capture.c index 2fc017c..d7b1a8a 100644 --- a/src/capture.c +++ b/src/capture.c @@ -1149,7 +1149,7 @@ lookup_hostname(const char *address) int is_local_address_str(const char *address) { - char straddress[ADDRESSLEN], *end; + char straddress[ADDRESSPORTLEN], *end; strcpy(straddress, address); // If address comes with port, remove it if ((end = strchr(straddress, ':')))