
< 	char *sm_alternate = NULL, *error_strategy = NULL;
---
> 	char *sm_alternate = NULL, *error_strategy = NULL;
> 	if (sm_alternate == NULL) sm_alternate = "";
> 	if (error_strategy == NULL) error_strategy = "";
