HomeFreeBSD

ifconfig: fix UBSan signed shift error

Description

ifconfig: fix UBSan signed shift error

Use 1u since UBSan complains about 1 << 31.

(cherry picked from commit 94ac312a71683a3a1a928c6adfe927d6bb45044f)

Details

Provenance
arichardsonAuthored on Jan 19 2021, 11:35 AM
Parents
rGd612bd6d0d5d: libarchive: Make test_read_append_filter_wrong_program pass again
Branches
Unknown
Tags
Unknown