Don't truncate large 'now' values in _spice_timer_set
Don't truncate large 'now' values in _spice_timer_set

static void _spice_timer_set(SpiceTimer *timer, uint32_t ms, uint32_t now)

The _spice_timer_set() function takes a 32-bit integer for the "now" value.
The now value passed in however, can exceed 2^32 (it's in ms and derived
from CLOCK_MONOTONIC, which will wrap around a 32-bit integer in around 46
days).

If the now value passed in exceeds 2^32, this will mean timers are inserted
into the active list with expiry values before the current time, they will
immediately trigger, and (if they don't make themselves inactive) be
reinserted still before the current time.

This leads to an infinite loop in spice_timer_queue_cb().

https://bugzilla.redhat.com/show_bug.cgi?id=1072700

freedesktop-unofficial-mirror/spice__spice,fgouget/spice,Fantu/spice,Fantu/spice,elmarco/spice,elmarco/spice,elmarco/spice,fgouget/spice,ya-mouse/spice,elmarco/spice,ya-mouse/spice,SPICE/spice,ya-mouse/spice,SPICE/spice,Fantu/spice,SPICE/spice,Fantu/spice,freedesktop-unofficial-mirror/spice__spice,fgouget/spice,freedesktop-unofficial-mirror/spice__spice,elmarco/spice,freedesktop-unofficial-mirror/spice__spice,freedesktop-unofficial-mirror/spice__spice,fgouget/spice