git: Shifting into or out of an int's sign bit is undefined, and this loop deterministically and intentionally does both.

Eitan Adler eadler at crater.dragonflybsd.org
Sat Jan 27 21:35:27 PST 2018


commit b4d0a58cfaa580afc67264c69337730c2987ebc7
Author: Eitan Adler <lists at eitanadler.com>
Date:   Sat Jan 27 21:33:16 2018 -0800

    Shifting into or out of an int's sign bit is undefined, and this loop
    deterministically and intentionally does both.
    
    Dragonfly-bug: https://bugs.dragonflybsd.org/issues/3112
    Submitted-by:    "mmcc"

Summary of changes:
 sbin/dhclient/dhclient.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b4d0a58cfaa580afc67264c69337730c2987ebc7


-- 
DragonFly BSD source repository



More information about the Commits mailing list