From: Roy Marples Date: Sat, 26 Jan 2019 00:16:09 +0000 (+0000) Subject: ssid is not NULL terminated anymore. X-Git-Tag: v7.1.1~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d12be15d3ac291bbcbf3a19c3f1392ca2b88f5c;p=thirdparty%2Fdhcpcd.git ssid is not NULL terminated anymore. --- 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];