diff options
author | Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com> | 2019-06-12 14:51:39 -0400 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-06-13 17:07:00 -0400 |
commit | 3e0682695199bad51dd898fe064d1564637ff77a (patch) | |
tree | a63884494c3ac859560d7056cb1def9095b1c4fa /net/lapb/lapb_iface.c | |
parent | 0e265747491cb182429adfbef7d002164566f25c (diff) |
bpf: fix div64 overflow tests to properly detect errors
If the result of the division is LLONG_MIN, current tests do not detect
the error since the return value is truncated to a 32-bit value and ends
up being 0.
Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions