On Wed, Apr 23, 2014 at 21:38, Peter Malone wrote:
> Hi,
> 
> Similar to the others. malloc & memset replacement with calloc, this time
> in sbin/nfsd/nfsd.c

>       fd_size = howmany(maxsock + 1, NFDBITS) * sizeof(fd_mask);
> -     sockbits = malloc(fd_size);
> +     sockbits = calloc(1, fd_size);
>       ready = malloc(fd_size);

As with ping6, I think this is better converted to poll.

Reply via email to