git: kernel - Fix ip6_setpktoptions() panic

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Jan 10 11:15:15 PST 2020


commit 0dfe8c5c2bfcad5752b556a3678f18c4860245a6
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Fri Jan 10 11:13:31 2020 -0800

    kernel - Fix ip6_setpktoptions() panic
    
    * Fix a panic in the control message processing for ipv6.  The loop
      could blow up if the last cmsg is not stored in an aligned number
      of bytes.
    
    Reported-by: tuxillo

Summary of changes:
 sys/netinet6/ip6_output.c | 34 ++++++++++++++++++++++++----------
 1 file changed, 24 insertions(+), 10 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0dfe8c5c2bfcad5752b556a3678f18c4860245a6


-- 
DragonFly BSD source repository



More information about the Commits mailing list