diff options
| author | Eli Zaretskii | 2014-09-24 10:31:11 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2014-09-24 10:31:11 +0300 |
| commit | a45a7f5d1aeed7845f56cf56382c625445fbb583 (patch) | |
| tree | acb89f82bf711a67f928234e35871d8dd23cadda /src/ChangeLog | |
| parent | fc5ebc3f497a152132407d57a14cce147d59d29c (diff) | |
| download | emacs-a45a7f5d1aeed7845f56cf56382c625445fbb583.tar.gz emacs-a45a7f5d1aeed7845f56cf56382c625445fbb583.zip | |
Fix bug #18528 with crashes at startup during frameset restoration.
src/w32term.c (w32_read_socket): Don't use frame dimensions for
resizing if GetClientRect returned an empty (0, 0, 0, 0)
rectangle. Check the return value of GetClientRect, and don't use
the results if it didn't succeed.
src/dispnew.c (change_frame_size_1): Recompute the frame dimensions
in columns and lines after correcting the pixel dimensions in
check_frame_size.
(adjust_decode_mode_spec_buffer): Add assertion to avoid passing
negative values to xrealloc.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 4d969d73279..a5c25ab7168 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,16 @@ | |||
| 1 | 2014-09-24 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * w32term.c (w32_read_socket): Don't use frame dimensions for | ||
| 4 | resizing if GetClientRect returned an empty (0, 0, 0, 0) | ||
| 5 | rectangle. Check the return value of GetClientRect, and don't use | ||
| 6 | the results if it didn't succeed. | ||
| 7 | |||
| 8 | * dispnew.c (change_frame_size_1): Recompute the frame dimensions | ||
| 9 | in columns and lines after correcting the pixel dimensions in | ||
| 10 | check_frame_size. | ||
| 11 | (adjust_decode_mode_spec_buffer): Add assertion to avoid passing | ||
| 12 | negative values to xrealloc. (Bug#18528) | ||
| 13 | |||
| 1 | 2014-09-22 Dmitry Antipov <dmantipov@yandex.ru> | 14 | 2014-09-22 Dmitry Antipov <dmantipov@yandex.ru> |
| 2 | 15 | ||
| 3 | On OSX, do not free font-specific data more than once (Bug#18501). | 16 | On OSX, do not free font-specific data more than once (Bug#18501). |