This attached patch prevents NULL being passed to make string and stops the seg fault