git: ipfw: Avoid left-shifting negative integers.

Rimvydas Jasinskas zrj at crater.dragonflybsd.org
Tue Jan 23 10:30:41 PST 2018


commit 01a62b0de7be85c6e73289e77339b39f94c657e0
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Tue Jan 23 20:11:47 2018 +0200

    ipfw: Avoid left-shifting negative integers.
    
    It is undefined behaviour.
    
    While there, mark one fallthrough case.

Summary of changes:
 sbin/ipfw/ipfw2.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/01a62b0de7be85c6e73289e77339b39f94c657e0


-- 
DragonFly BSD source repository



More information about the Commits mailing list