aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert2011-05-23 22:16:14 -0700
committerPaul Eggert2011-05-23 22:16:14 -0700
commit0868606086aade7d84c23522f2624efa6e3040b8 (patch)
tree8e4a85f13856503ad3a41d1da8cf26a006301655 /src/ChangeLog
parent30217ff0cf028810c4f7c6d3b0324e2dfaf2c131 (diff)
downloademacs-0868606086aade7d84c23522f2624efa6e3040b8.tar.gz
emacs-0868606086aade7d84c23522f2624efa6e3040b8.zip
* 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.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 9037adeeb01..d64f914c8d9 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,14 @@
12011-05-24 Paul Eggert <eggert@cs.ucla.edu> 12011-05-24 Paul Eggert <eggert@cs.ucla.edu>
2 2
3 * dbusbind.c: Serial number integer overflow fixes.
4 (CHECK_DBUS_SERIAL_GET_SERIAL): New macro.
5 (xd_invalid_serial): New static function.
6 (Fdbus_call_method_asynchronously, xd_read_message_1): Use a float
7 to hold a serial number that is too large for a fixnum.
8 (Fdbus_method_return_internal, Fdbus_method_error_internal):
9 Check for serial numbers out of range. Decode any serial number
10 that was so large that it became a float.
11
3 * dbusbind.c: Use XFASTINT rather than XUINT, and check for nonneg. 12 * dbusbind.c: Use XFASTINT rather than XUINT, and check for nonneg.
4 (Fdbus_call_method, Fdbus_call_method_asynchronously): 13 (Fdbus_call_method, Fdbus_call_method_asynchronously):
5 Use XFASTINT rather than XUINT when numbers are nonnegative. 14 Use XFASTINT rather than XUINT when numbers are nonnegative.