Thread (8 messages) flat view 8 messages, 4 authors, 2017-05-27

Re: [PATCH v3] hdlcdrv: Fix divide by zero in hdlcdrv_ioctl

From: David Miller <davem@davemloft.net>
Date: 2017-05-27 22:46:03
Also in: linux-hams, lkml

From: Firo Yang <redacted>
Date: Fri, 26 May 2017 22:37:38 +0800
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 <redacted>
Signed-off-by: Firo Yang <redacted>
Applied, thank you.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help