text_renderer/freetype: DumpDictionary: prevent potential null-dereference
commitb71eab28cea0ea754d1de05badfccfe5a4529ea7
authorFilip Roséen <filip@atch.se>
Thu, 18 May 2017 10:19:27 +0000 (18 12:19 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 18 May 2017 19:02:40 +0000 (18 21:02 +0200)
treeb2a0912ffc0718ee1a36f9d64c3d4a6da3bcbb5b
parentcc6b26797d19a5eae1e712d6607ead34a69c12a3
text_renderer/freetype: DumpDictionary: prevent potential null-dereference

vlc_dictionary_all_keys may return NULL on error, rendering the
previous implemention prone to a potential null-pointer dereference.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/text_renderer/freetype/platform_fonts.c