]> git.eshelyaron.com Git - emacs.git/commit
* dbusbind.c: Serial number integer overflow fixes.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 24 May 2011 05:16:14 +0000 (22:16 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 24 May 2011 05:16:14 +0000 (22:16 -0700)
commit0868606086aade7d84c23522f2624efa6e3040b8
tree8e4a85f13856503ad3a41d1da8cf26a006301655
parent30217ff0cf028810c4f7c6d3b0324e2dfaf2c131
* dbusbind.c: Serial number integer overflow fixes.

(CHECK_DBUS_SERIAL_GET_SERIAL): New macro.
(xd_invalid_serial): New static function.
(Fdbus_call_method_asynchronously, xd_read_message_1): Use a float
to hold a serial number that is too large for a fixnum.
(Fdbus_method_return_internal, Fdbus_method_error_internal):
Check for serial numbers out of range.  Decode any serial number
that was so large that it became a float.
src/ChangeLog
src/dbusbind.c