From 1d12be15d3ac291bbcbf3a19c3f1392ca2b88f5c Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Sat, 26 Jan 2019 00:16:09 +0000 Subject: [PATCH] ssid is not NULL terminated anymore. --- src/dhcpcd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dhcpcd.h b/src/dhcpcd.h index b395c18d..cbd95833 100644 --- a/src/dhcpcd.h +++ b/src/dhcpcd.h @@ -86,7 +86,7 @@ struct interface { int carrier; bool media_valid; bool wireless; - uint8_t ssid[IF_SSIDLEN + 1]; /* NULL terminated */ + uint8_t ssid[IF_SSIDLEN]; unsigned int ssid_len; char profile[PROFILE_LEN]; -- 2.47.2