 sprintf(hash_key, "%s_%s", sys?sys:"none", crm_msg_reference); hash_key[ref_len-1] = '\0'; crm_debug("created hash key: (%s)", hash_key); 
if(hash_key != NULL) { sprintf(hash_key, "%s_%s", sys?sys:"none", crm_msg_reference); hash_key[ref_len-1] = '\0'; crm_debug("created hash key: (%s)", hash_key); } 
generate_hash_key(const char *crm_msg_reference, const char *sys){	int ref_len = strlen(sys?sys:"none") + strlen(crm_msg_reference) + 2;	char *hash_key = (char*)crm_malloc(sizeof(char)*(ref_len));		sprintf(hash_key, "%s_%s", sys?sys:"none", crm_msg_reference);	hash_key[ref_len-1] = '\0';	crm_debug("created hash key: (%s)", hash_key);	return hash_key;}
8182	/local/tlutelli/issta_data/temp/c/2005_temp/2005/8182/69f8a14658aeeee09c5c270dd118170c371c0ecf/utils.c/buggy/crm/common/utils.c