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

Antonio Huete Jimenez tuxillo at crater.dragonflybsd.org
Thu Apr 10 06:31:42 PDT 2014


commit f82a5263036fc2c7c21fe66b4f29d49d25dbeaa0
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/f82a5263036fc2c7c21fe66b4f29d49d25dbeaa0


-- 
DragonFly BSD source repository


More information about the Commits mailing list