Re: [PATCH] rpc: avoid crash when system time jump back

2021-02-08 Thread Daniel P . Berrangé
On Mon, Feb 08, 2021 at 07:50:11PM +0100, Ján Tomko wrote: > On a Monday in 2021, BiaoxiangYe wrote: > > From: BiaoXiang Ye > > > > Setting the system time backward would lead to a > > multiplication overflow in function virKeepAliveStart. > > FunctionvirKeepAliveTimerInternal got the same bug to

Re: [PATCH] rpc: avoid crash when system time jump back

2021-02-08 Thread Ján Tomko
On a Monday in 2021, BiaoxiangYe wrote: From: BiaoXiang Ye Setting the system time backward would lead to a multiplication overflow in function virKeepAliveStart. FunctionvirKeepAliveTimerInternal got the same bug too. Backtrace below: #0 0xae898470 in raise () from /usr/lib64/libc.so

[PATCH] rpc: avoid crash when system time jump back

2021-02-08 Thread BiaoxiangYe
From: BiaoXiang Ye Setting the system time backward would lead to a multiplication overflow in function virKeepAliveStart. FunctionvirKeepAliveTimerInternal got the same bug too. Backtrace below: #0 0xae898470 in raise () from /usr/lib64/libc.so.6 #1 0xae89981c in abort () fr