Update util.c

Change malloc+memset to calloc (as it zero-outs allocated buffer automatically)