On Wed, Apr 23, 2014 at 21:24, Peter Malone wrote: > Hi, > > Similar to previous patches replacing malloc & memset with calloc, this > time in src/bin/systrace/intercept.c >
> - tlnew = malloc(sizeof(struct intercept_translate)); > + tlnew = calloc(1, sizeof(struct intercept_translate)); > if (tlnew == NULL) > - err(1, "%s: %s-%s: malloc", > + err(1, "%s: %s-%s: calloc", > __func__, emulation, name); > > - memcpy(tlnew, tl, sizeof(struct intercept_translate)); Ha, tricked you. :) That's a memcpy.