[Linux-kernel-mentees] [PATCH v2] packet: Fix undefined behavior in bit shift

David Miller davem at davemloft.net
Sat Jun 29 18:06:40 UTC 2019


From: Jiunn Chang <c0d1n61at3 at gmail.com>
Date: Wed, 26 Jun 2019 22:25:30 -0500

> Shifting signed 32-bit value by 31 bits is undefined.  Changing most
> significant bit to unsigned.
> 
> Changes included in v2:
>   - use subsystem specific subject lines
>   - CC required mailing lists
> 
> Signed-off-by: Jiunn Chang <c0d1n61at3 at gmail.com>

Applied.


More information about the Linux-kernel-mentees mailing list