]> source.dussan.org Git - tigervnc.git/commit
Fix overflow; "Timer: gettimeofday is broken"
authorPierre Ossman <ossman@cendio.se>
Fri, 19 Jul 2024 15:37:04 +0000 (17:37 +0200)
committerSamuel Mannehed <samuel@cendio.se>
Tue, 23 Jul 2024 00:05:02 +0000 (02:05 +0200)
commit75c8701df60956254c8bd57cd9015d72134dc6bf
tree82b0a8369a5666c7ab1a1288ff22afcffac6923a
parent8d0389d2a1367fba677212882ce89d9e71cf9460
Fix overflow; "Timer: gettimeofday is broken"

The rounding misbehaved when the tv_usec calculation overflows.

Fixes issue #1782.

(cherry picked from commit 422444acf3a519b75709fb14c02118b75ecbc898)
common/rfb/Timer.cxx