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:29:57 +0000 (00:29 +0200)
commit5dfbf41edce55e0ea6bb0b7846e42f8bbecfaf7e
treef69a63126a673d2f540f524cb683ffb8fcfe826b
parent4b09ee0ab7218a6be5e9ad91adfbc75d4f4db6bd
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