Fixes a memory corruption caused by an implicit cast from NULL to char *