Commit fc7b4fc9 authored by Committed by Colin WaltersBrowse files
Fix issue where timeouts can overflow.
* dbus/dbus-connection.c (_dbus_connection_block_pending_call): Rework the timeout math so instead of calculating an end time, which may overflow, we instead calculate the elapsed time which is always smaller than the boundaries. Signed-off-by: Scott James Remnant <firstname.lastname@example.org> (cherry picked from commit 1faa9211)
Showing with 7 additions and 14 deletions