Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1652002
| From | David Miller <davem@davemloft.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v3] hdlcdrv: Fix divide by zero in hdlcdrv_ioctl |
| Date | 2017-05-28 00:50 +0200 |
| Message-ID | <tLSGZ-1L7-3@gated-at.bofh.it> (permalink) |
| References | <tHMgN-7cr-3@gated-at.bofh.it> <tLoIV-77d-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Firo Yang <firogm@gmail.com> 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 <andreyknvl@google.com> > Signed-off-by: Firo Yang <firogm@gmail.com> Applied, thank you.
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH v3] hdlcdrv: Fix divide by zero in hdlcdrv_ioctl Firo Yang <firogm@gmail.com> - 2017-05-26 16:50 +0200 Re: [PATCH v3] hdlcdrv: Fix divide by zero in hdlcdrv_ioctl David Miller <davem@davemloft.net> - 2017-05-28 00:50 +0200
csiph-web