Skip to content
Commit d2ce8d6b authored by Jiunn Chang's avatar Jiunn Chang Committed by Johannes Berg
Browse files

nl80211: Fix undefined behavior in bit shift



Shifting signed 32-bit value by 31 bits is undefined.  Changing most
significant bit to unsigned.

Signed-off-by: default avatarJiunn Chang <c0d1n61at3@gmail.com>
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 556e2f60
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment