[PATCHv2] net: bpf: reject invalid shifts

David Miller davem at davemloft.net
Tue Jan 12 18:43:15 PST 2016


From: Eric Dumazet <eric.dumazet at gmail.com>
Date: Tue, 12 Jan 2016 18:11:38 -0800

> As I said, it is possible some guys never noticed their BPF program
> were 'broken' because this invalid shift was hidden in a dead code
> part.

We should not hide bugs and unintended uses of operations with
undefined behavior.



More information about the linux-arm-kernel mailing list