summaryrefslogtreecommitdiff
path: root/test/ps-features.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2008-08-12 21:21:20 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2008-08-12 21:30:51 +0100
commitc73b3e43e120065e40d8fc48c9bdbd88ebe8ab40 (patch)
treebbfa2d13c9d8c68cdb27b5a6acb3335e3dd242fa /test/ps-features.c
parent922df7fc231b2499ce0651476083afe158a7639c (diff)
[cairo-surface] Check for the error surface in _get_font_options()
cairo_surface_get_font_options() has the side effect of initialising the font options on the surface, but fails to check that the surface is valid first. Therefore if we are passed a read-only error object, we will trigger a segmentation fault. Most likely this is the bug behind: http://bugs.freedesktop.org/show_bug.cgi?id=17096.
Diffstat (limited to 'test/ps-features.c')
0 files changed, 0 insertions, 0 deletions