Fix binlogrouter test
The test used the wrong working directory. blr_slave.c didn't check the input for NULL values.
This commit is contained in:
@ -4540,7 +4540,7 @@ blr_get_parsed_command_value(char *input)
|
||||
char *word;
|
||||
char *value = NULL;
|
||||
|
||||
if (strlen(input))
|
||||
if (input && strlen(input))
|
||||
{
|
||||
value = strdup(input);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user