GNOME Bugzilla – Bug 778655
pango-font-face: Add NULL checks to list_sizes and list_faces vfuncs
Last modified: 2018-05-22 13:21:18 UTC
Trivial patch to make vfuncs a little safer in the unlikely case of being called with NULL out parameters.
Created attachment 345790 [details] [review] pango-font-face: Add NULL checks to list_sizes and list_faces vfuncs The vfunc wrappers for list_sizes and list_faces generally don’t do NULL checks, so the implementations could be called with NULL out pointers (actually, list_sizes does check n_sizes). Add the missing NULL checks to implementations of these vfuncs to be safe. Coverity IDs: 1391712, 1391713, 1391714 Signed-off-by: Philip Withnall <withnall@endlessm.com>
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/pango/issues/268.