aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorJim Meyering2009-06-23 06:49:20 +0000
committerJim Meyering2009-06-23 06:49:20 +0000
commitc6da7cd2b63cc9094d690b74875bf8609b5c0107 (patch)
tree4c6731024ab0f50692ceb0b848492a3b77b1bdcf /src/ChangeLog
parentf5f20f6c6718e08c1c8c9140466c7eb5811fe467 (diff)
downloademacs-c6da7cd2b63cc9094d690b74875bf8609b5c0107.tar.gz
emacs-c6da7cd2b63cc9094d690b74875bf8609b5c0107.zip
Don't dereference NULL upon failed malloc and realloc.
* src/ftfont.c (setup_otf_gstring, ftfont_shape_by_flt): Use xmalloc and xrealloc (not malloc and realloc), so subsequent heap pointer dereferences are guaranteed to be valid.
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 a0f2650445a..9e1830e4d4a 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,10 @@
12009-06-23 Jim Meyering <meyering@redhat.com>
2
3 Don't dereference NULL upon failed malloc and realloc
4 * src/ftfont.c (setup_otf_gstring, ftfont_shape_by_flt): Use xmalloc
5 and xrealloc (not malloc and realloc), so subsequent heap pointer
6 dereferences are guaranteed to be valid.
7
12009-06-23 Kenichi Handa <handa@m17n.org> 82009-06-23 Kenichi Handa <handa@m17n.org>
2 9
3 * emacs.c (main): Call init_font (). 10 * emacs.c (main): Call init_font ().