Added the initialization step to zero out the memory pointed to by the char pointer in initialize_empty_stringsafe