Shifting into or out of an int's sign bit is undefined, and this loop
authorEitan Adler <lists@eitanadler.com>
Sun, 28 Jan 2018 05:33:16 +0000 (21:33 -0800)
committerEitan Adler <lists@eitanadler.com>
Sun, 28 Jan 2018 05:33:16 +0000 (21:33 -0800)
commitb4d0a58cfaa580afc67264c69337730c2987ebc7
tree36ff583ea7be22645d4a3b5752cea9992e5a820f
parent537b904850243ccfcad0aebc6727d8371cc42c7d
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"
sbin/dhclient/dhclient.c