Skip to content
Snippets Groups Projects
Commit e6f6c67d 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 621b37a7
No related branches found
No related tags found
No related merge requests found
......@@ -234,7 +234,7 @@ char *rate_names[] = {
};
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_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