git: DragonFly_RELEASE_3_6 netinet/ip - Avoid a NULL pointer dereference.

Sascha Wildner swildner at crater.dragonflybsd.org
Wed Apr 23 09:48:25 PDT 2014


commit 4d9e27a07e4b657ac17c0e7f50b88752fdf441f1
Author: Antonio Huete Jimenez <tuxillo at quantumachine.net>
Date:   Thu Apr 10 15:17:04 2014 +0200

    netinet/ip - Avoid a NULL pointer dereference.
    
    - Before checking for packets on broadcast addresses, see if there
      is actually a ifnet associated with the mbuf being handled.
    
    FreeBSD-SVN: 130685
    DragonFly-bug: <http://bugs.dragonflybsd.org/issues/2660>
    Reported-and-Found-by: Vasily Postnicov
    
    This commit closes #2660

Summary of changes:
 sys/netinet/ip_input.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4d9e27a07e4b657ac17c0e7f50b88752fdf441f1


-- 
DragonFly BSD source repository



More information about the Commits mailing list