diff options
author | Scott James Remnant <scott@ubuntu.com> | 2009-05-11 22:41:49 +0100 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2009-07-14 15:37:53 -0400 |
commit | fc7b4fc9ecf26d60384ad3fd3551f3de53fc91e6 (patch) | |
tree | 52369b1ba4c5cbf70a9628068a60c30e8c614044 /test/spawn-test.c | |
parent | 390aa034403cd28ab03d12ed75ff486872a9fbc9 (diff) |
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 <scott@ubuntu.com>
(cherry picked from commit 1faa92114f6489d286ad4cebe5e91b2145a4f7d1)
Diffstat (limited to 'test/spawn-test.c')
0 files changed, 0 insertions, 0 deletions