diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2008-08-12 21:21:20 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2008-08-12 21:30:51 +0100 |
commit | c73b3e43e120065e40d8fc48c9bdbd88ebe8ab40 (patch) | |
tree | bbfa2d13c9d8c68cdb27b5a6acb3335e3dd242fa /test/bitmap-font.c | |
parent | 922df7fc231b2499ce0651476083afe158a7639c (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/bitmap-font.c')
0 files changed, 0 insertions, 0 deletions