comparison src/ChangeLog @ 103556:246d16550b8d

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.
author Jim Meyering <jim@meyering.net>
date Tue, 23 Jun 2009 06:49:20 +0000
parents f33627dd1aec
children f52eb7cf1c20
comparison
equal deleted inserted replaced
103555:e3e672080345 103556:246d16550b8d
1 2009-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
1 2009-06-23 Kenichi Handa <handa@m17n.org> 8 2009-06-23 Kenichi Handa <handa@m17n.org>
2 9
3 * emacs.c (main): Call init_font (). 10 * emacs.c (main): Call init_font ().
4 11
5 * font.h (Vfont_log): Extern it. 12 * font.h (Vfont_log): Extern it.