diff options
| author | Jim Meyering | 2009-06-23 06:49:20 +0000 |
|---|---|---|
| committer | Jim Meyering | 2009-06-23 06:49:20 +0000 |
| commit | c6da7cd2b63cc9094d690b74875bf8609b5c0107 (patch) | |
| tree | 4c6731024ab0f50692ceb0b848492a3b77b1bdcf /src/window.c | |
| parent | f5f20f6c6718e08c1c8c9140466c7eb5811fe467 (diff) | |
| download | emacs-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/window.c')
0 files changed, 0 insertions, 0 deletions