diff options
| author | Paul Eggert | 2011-08-29 11:52:26 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-08-29 11:52:26 -0700 |
| commit | 8a4014344e961833b940a36887bdeee4935f88bd (patch) | |
| tree | 27f89a00215d1c60ca0228964008299516472490 /src/ChangeLog | |
| parent | c57b67fcf07e10378fbb11cf8c6aecded43d1736 (diff) | |
| download | emacs-8a4014344e961833b940a36887bdeee4935f88bd.tar.gz emacs-8a4014344e961833b940a36887bdeee4935f88bd.zip | |
* frame.c (tty_frame_count): Now printmax_t, not int.
(make_terminal_frame, set_term_frame_name): Print it.
(x_report_frame_params): In X, window IDs are unsigned long,
not signed long, so print them as unsigned.
(validate_x_resource_name): Check for implausibly long names,
and don't assume name length fits in 'int'.
(x_get_resource_string): Don't blindly alloca invocation name;
use SAFE_ALLOCA. Use esprintf, not sprintf, in case result does
not fit in int.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index a1af6127635..91bcaebb7bb 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -52,6 +52,16 @@ | |||
| 52 | * fontset.c (num_auto_fontsets): Now printmax_t, not int. | 52 | * fontset.c (num_auto_fontsets): Now printmax_t, not int. |
| 53 | (fontset_from_font): Print it. | 53 | (fontset_from_font): Print it. |
| 54 | 54 | ||
| 55 | * frame.c (tty_frame_count): Now printmax_t, not int. | ||
| 56 | (make_terminal_frame, set_term_frame_name): Print it. | ||
| 57 | (x_report_frame_params): In X, window IDs are unsigned long, | ||
| 58 | not signed long, so print them as unsigned. | ||
| 59 | (validate_x_resource_name): Check for implausibly long names, | ||
| 60 | and don't assume name length fits in 'int'. | ||
| 61 | (x_get_resource_string): Don't blindly alloca invocation name; | ||
| 62 | use SAFE_ALLOCA. Use esprintf, not sprintf, in case result does | ||
| 63 | not fit in int. | ||
| 64 | |||
| 55 | 2011-08-26 Paul Eggert <eggert@cs.ucla.edu> | 65 | 2011-08-26 Paul Eggert <eggert@cs.ucla.edu> |
| 56 | 66 | ||
| 57 | Integer and memory overflow issues (Bug#9196). | 67 | Integer and memory overflow issues (Bug#9196). |