[lvc-project] [PATCH] fixp-arith: prevent division by zero in fixp_sin32_rad()
Fedor Pchelkin
pchelkin at ispras.ru
Thu Mar 14 19:51:56 MSK 2024
On 24/03/12 12:48PM, Roman Smirnov wrote:
> The parameter twopi can have a zero value. It is necessary
> to prevent division by zero.
>
> Found by Linux Verification Center (linuxtesting.org) with Svace.
>
> Signed-off-by: Roman Smirnov <r.smirnov at omp.ru>
Добавлено в linux-5.10-lvc-next и linux-6.1-lvc-next.
В публичной linux-5.10-lvc [1] появится при выходе ближайшего релиза.
Спасибо!
[1]: https://git.linuxtesting.ru/pub/scm/linux/kernel/git/lvc/linux-stable.git/log/
More information about the lvc-project
mailing list