add: if (length == 0) return NULL;
context: find_command(char *name, bool partialMatch){	debugger_command *command;	int length;	// search command by full name	for (command = sCommands; command != NULL; command = command->next) {		if (strcmp(name, command->name) == 0)			return command;	}	// if it couldn't be found, search for a partial match	if (partialMatch) {		length = strlen(name);		for (command = sCommands; command != NULL; command = command->next) {			if (strncmp(name, command->name, length) == 0)				return command;		}	}	return NULL;}