Use kstring_t over char* to avoid weird segfault woes