calloc in nnrpd/perl.c

Jeffrey M. Vinocur jeff at litech.org
Sun Mar 3 17:07:59 UTC 2002


There are a couple uses of calloc() in nnrpd/perl.c -- I suppose they
should be xcalloc?  (Actually, one of them doesn't even need to be
zero'd.)

Hmm.  I don't know why there's an itoa() being defined in that file in the
first place -- it seems like sprintf would do as well -- but by my reading
of strcat, that shouldn't even work, since the dst array is not large
enough to hold the result of the concatenation.

-- 
Jeffrey M. Vinocur
jeff at litech.org



More information about the inn-workers mailing list