CVSROOT:        /cvs
Module name:    src
Changes by:     t...@cvs.openbsd.org    2009/01/06 14:57:51

Modified files:
        sys/net        : pf_ruleset.c 

Log message:
Always check rs_malloc() returns. Also add M_ZERO and M_CANFAIL
to the flags passed to malloc() in the kernel case since we
always zero the memory and are able to fail gracefully.

remove memset()'s and bzero's accordingly and use calloc(1, ...)
in the userland case so we get it zeroed.

OK henning@, claudio@

Reply via email to