aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorFiro Yang <[email protected]>2017-05-26 22:37:38 +0800
committerDavid S. Miller <[email protected]>2017-05-27 18:44:17 -0400
commitfb3ce90b7d7761b6f7f28f0ff5c456ef6b5229a1 (patch)
tree68115fc1133d475bdfa9e5cc399c20f7715d3ec5 /tools/perf/scripts/python
parent6c713a3a23154f4f0c2217ea39811ebe443dafaa (diff)
hdlcdrv: Fix divide by zero in hdlcdrv_ioctl
syszkaller fuzzer triggered a divide by zero, when set calibration through ioctl(). To fix it, test 'bitrate' if it is negative or 0, just return -EINVAL. Reported-by: Andrey Konovalov <[email protected]> Signed-off-by: Firo Yang <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions