[cvs-nhc98] patch applied (hat): Replace uses of asprintf with malloc+sprintf.