aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert2014-07-31 06:55:12 -0700
committerPaul Eggert2014-07-31 06:55:12 -0700
commitf3655f35ccd5a56c158a5db399c5f168b2e928d0 (patch)
treee6d0df24569c82f049fe15a6919edf4907f9c758 /src/ChangeLog
parentdef546a8b82f60478c780bf3cbdbceedcf7a2ccd (diff)
downloademacs-f3655f35ccd5a56c158a5db399c5f168b2e928d0.tar.gz
emacs-f3655f35ccd5a56c158a5db399c5f168b2e928d0.zip
* frame.c (x_set_frame_parameters): Don't use uninitialized locals.
Without this change, the code can access the local variable 'width' even when it has not been initialized, and likewise for 'height'; in either case this leads to undefined behavior.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index b5c9e6d6b30..985e3b33e06 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,10 @@
12014-07-31 Paul Eggert <eggert@cs.ucla.edu>
2
3 * frame.c (x_set_frame_parameters): Don't use uninitialized locals.
4 Without this change, the code can access the local variable 'width'
5 even when it has not been initialized, and likewise for 'height';
6 in either case this leads to undefined behavior.
7
12014-07-30 Dmitry Antipov <dmantipov@yandex.ru> 82014-07-30 Dmitry Antipov <dmantipov@yandex.ru>
2 9
3 * xrdb.c (x_load_resources) [USE_MOTIF]: Although not strictly 10 * xrdb.c (x_load_resources) [USE_MOTIF]: Although not strictly