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

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


commit 4aaf47da4b2532c1ec77985c160937265ca43fe9
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/4aaf47da4b2532c1ec77985c160937265ca43fe9


-- 
DragonFly BSD source repository



More information about the Commits mailing list