lib/cgi.c (cgi__input): Write terminating null within allocated buffer.