network/pf - Avoid a possible bad pointer access.
authorAntonio Huete Jimenez <tuxillo@quantumachine.net>
Mon, 7 Apr 2014 22:26:53 +0000 (00:26 +0200)
committerAntonio Huete Jimenez <tuxillo@quantumachine.net>
Mon, 7 Apr 2014 22:32:43 +0000 (00:32 +0200)
commit4aaf47da4b2532c1ec77985c160937265ca43fe9
tree33bffd87af000e2e4f2a00a45604383f50db1676
parent3a127fa794fb37699df662e97c8afb94a78e44e6
network/pf - Avoid a possible bad pointer access.

- Make sure new pfi_kif structures are zeroed on allocation.
- A panic was hit when pfi_instance_add() tried to access a bad ifp
  pointer (i.e. when using non-existing iface names in pf.conf)
sys/net/pf/pf_if.c