Skip to content
Snippets Groups Projects
Commit f335e4e5 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Fix missing NULL terminator for rip_versions string list

Caught be GCC ASan.
parent a5fb9691
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
...@@ -234,7 +234,7 @@ char *rate_names[] = { ...@@ -234,7 +234,7 @@ char *rate_names[] = {
}; };
int rates[] = {300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 57600, 76800, 115200, 0}; int rates[] = {300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 57600, 76800, 115200, 0};
static char *rip_versions[] = {"Off", "RIPv1", "RIPv3"}; static char *rip_versions[] = {"Off", "RIPv1", "RIPv3", NULL};
static char *fc_names[] = {"RTS/CTS", "XON/XOFF", "RTS/CTS and XON/XOFF", "None", NULL}; static char *fc_names[] = {"RTS/CTS", "XON/XOFF", "RTS/CTS and XON/XOFF", "None", NULL};
static char *fc_enum[] = {"RTSCTS", "XONXOFF", "RTSCTS_XONXOFF", "None", NULL}; static char *fc_enum[] = {"RTSCTS", "XONXOFF", "RTSCTS_XONXOFF", "None", NULL};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment