]> granicus.if.org Git - libass/commit
More malloc checking
authorwm4 <wm4@nowhere>
Thu, 20 Nov 2014 21:07:02 +0000 (22:07 +0100)
committerwm4 <wm4@nowhere>
Thu, 20 Nov 2014 21:07:02 +0000 (22:07 +0100)
commit4881a6e11764ee5c4b755d45738c243042111b6c
tree4bd4ea1ce0aa2c3d9324d6b547fd0b28217be9cc
parent9f2d07b8038e9637be331e84c16dea4c0ec5cd76
More malloc checking

Don't crash if running out of memory when allocating per-glyph data
during shaping. Also some fixes to initialization.

The caller of ass_fontconfig.c/match_fullname() actually handles a NULL
return value correctly.
libass/ass_fontconfig.c
libass/ass_shaper.c