git: network/pf - Avoid a possible bad pointer access.

Antonio Huete Jimenez tuxillo at crater.dragonflybsd.org
Mon Apr 7 15:31:50 PDT 2014


commit 5dfbf41edce55e0ea6bb0b7846e42f8bbecfaf7e
Author: Antonio Huete Jimenez <tuxillo at quantumachine.net>
Date:   Tue Apr 8 00:26:53 2014 +0200

    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)

Summary of changes:
 sys/net/pf/pf_if.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5dfbf41edce55e0ea6bb0b7846e42f8bbecfaf7e


-- 
DragonFly BSD source repository



More information about the Commits mailing list