Module Name: src Committed By: fox Date: Sat Apr 4 21:26:17 UTC 2020
Modified Files: src/lib/libusbhid: parse.c Log Message: lib/libusbhid: Fix possible left shift changes signedness bit. This bug was reported by UBSan runs. lib/libusbhid/parse.c:246:20 Can result in left shift changes signedness bit as a side effect positive number can go negative, cast it to unsigned for the operation and silence the issue. Reviewed by: kamil@ To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/lib/libusbhid/parse.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.