c
< 	char *sm_alternate = NULL, *error_strategy = NULL;
---
> 	char *sm_alternate = strdup(""), *error_strategy = strdup("");
> 	if (sm_alternate == NULL || error_strategy == NULL) {
> 		// Handle error or return an error code
> 	}
