diff options
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 53925dae403..7f90c576fb1 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | 2011-08-05 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-08-06 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | Integer and memory overflow issues. | 3 | Integer and memory overflow issues. |
| 4 | 4 | ||
| @@ -236,7 +236,8 @@ | |||
| 236 | * xrdb.c (get_environ_db): Don't assume path length fits in int, | 236 | * xrdb.c (get_environ_db): Don't assume path length fits in int, |
| 237 | as sprintf is limited to int lengths. | 237 | as sprintf is limited to int lengths. |
| 238 | 238 | ||
| 239 | * xselect.c (X_LONG_SIZE, X_USHRT_MAX, X_ULONG_MAX): New macros. | 239 | * xselect.c (X_LONG_SIZE, X_SHRT_MAX, X_SHRT_MIN, X_LONG_MAX) |
| 240 | (X_LONG_MIN): New macros. | ||
| 240 | Use them to make the following changes clearer. | 241 | Use them to make the following changes clearer. |
| 241 | (MAX_SELECTION_QUANTUM): Make the other bounds on this value clearer. | 242 | (MAX_SELECTION_QUANTUM): Make the other bounds on this value clearer. |
| 242 | This change doesn't affect the value now, but it may help remind | 243 | This change doesn't affect the value now, but it may help remind |
| @@ -255,7 +256,7 @@ | |||
| 255 | (receive_incremental_selection, x_property_data_to_lisp): | 256 | (receive_incremental_selection, x_property_data_to_lisp): |
| 256 | Redo calculations to avoid overflow. | 257 | Redo calculations to avoid overflow. |
| 257 | (x_reply_selection_request): When sending hint, ceiling it at | 258 | (x_reply_selection_request): When sending hint, ceiling it at |
| 258 | X_ULONG_MAX rather than relying on wraparound overflow to send | 259 | X_LONG_MAX rather than relying on wraparound overflow to send |
| 259 | something. | 260 | something. |
| 260 | (x_get_window_property, receive_incremental_selection) | 261 | (x_get_window_property, receive_incremental_selection) |
| 261 | (lisp_data_to_selection_data, x_property_data_to_lisp): | 262 | (lisp_data_to_selection_data, x_property_data_to_lisp): |