]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
ssid is not NULL terminated anymore.
authorRoy Marples <roy@marples.name>
Sat, 26 Jan 2019 00:16:09 +0000 (00:16 +0000)
committerRoy Marples <roy@marples.name>
Sat, 26 Jan 2019 00:16:09 +0000 (00:16 +0000)
src/dhcpcd.h

index b395c18d421f6fc9c16273b6934f33193e145ba2..cbd958331c1c73d9930141aebf9e3d3d06fcb65e 100644 (file)
@@ -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];