Re: UBSAN: Undefined behaviour in kernel/time/posix-timers.c:705

From: Thomas Gleixner
Date: Sun Jun 24 2018 - 09:10:30 EST


On Fri, 22 Jun 2018, air icy wrote:
> ================================================================================
> UBSAN: Undefined behaviour in kernel/time/posix-timers.c:705:20
> signed integer overflow:
> -1863446814 + -1863446813 cannot be represented in type 'int'

Yuck. Both numbers are bogus if I looked at the correct place.

> bugzilla url:https://bugzilla.kernel.org/show_bug.cgi?id=200189
>
> This bug can be repro, if you need this, please me.

Reproducer please.

Thanks,

tglx