Re: [patch bin/systrace/intercept.c] replace malloc & memset with calloc

2014-04-23 Thread Peter Malone
As Ned Flanders infamously said... Take out the crayolas and color me tickled pink. Here's the _actual_ patch. Index: intercept.c === RCS file: /cvs/src/bin/systrace/intercept.c,v retrieving revision 1.60 diff -u -p -u -r1.60 interc

Re: [patch bin/systrace/intercept.c] replace malloc & memset with calloc

2014-04-23 Thread Ted Unangst
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))

[patch bin/systrace/intercept.c] replace malloc & memset with calloc

2014-04-23 Thread Peter Malone
Hi, Similar to previous patches replacing malloc & memset with calloc, this time in src/bin/systrace/intercept.c Index: intercept.c === RCS file: /cvs/src/bin/systrace/intercept.c,v retrieving revision 1.60 diff -u -p -u -r1.60 inte