mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-21 02:02:23 +00:00
Having a first stab at flawfinder errors
This commit is contained in:
@@ -84,7 +84,7 @@ void Channels::initDefaultChannel(ChannelIndex chIndex)
|
||||
uint8_t defaultpskIndex = 1;
|
||||
channelSettings.psk.bytes[0] = defaultpskIndex;
|
||||
channelSettings.psk.size = 1;
|
||||
strcpy(channelSettings.name, "");
|
||||
strncpy(channelSettings.name, "", sizeof(channelSettings.name));
|
||||
|
||||
ch.has_settings = true;
|
||||
ch.role = Channel_Role_PRIMARY;
|
||||
|
||||
Reference in New Issue
Block a user