summaryrefslogtreecommitdiff
path: root/usr.bin/look
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2001-08-23 05:36:54 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2001-08-23 05:36:54 +0000
commita7996167be0d5a62a2a3e1d225cb464817819217 (patch)
tree19edfc9fe06b0667c4ff032258a6f5b91b7de2ae /usr.bin/look
parent68120b7c2cc0d1e812eedc467a82bc18c84af5b9 (diff)
o for a port_item, initialize the "next" pointer to NULL
o for an address, use calloc() instead of malloc() so the struct is zeroed Fixes a SEGV in pfctl due to uninitialized "next" pointers.
Diffstat (limited to 'usr.bin/look')
0 files changed, 0 insertions, 0 deletions