cairo/src
Chris Wilson c73b3e43e1 [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.
2008-08-12 21:30:51 +01:00
..
.gitignore [gitignore] Ignore cairo-no-features.h 2008-02-20 10:57:14 +00:00
cairo-analysis-surface-private.h Add CAIRO_INTERNAL_SURFACE_TYPE_NULL and cairo_nul_surface_create() 2008-05-09 15:54:19 +02:00
cairo-analysis-surface.c [analysis-surface] Fix crashers introduced in my previous commit 2008-07-03 18:06:01 -04:00
cairo-arc-private.h Add cairo_private to several function prototypes that were missing it. 2005-08-09 13:01:14 +00:00
cairo-arc.c Remove some bogus XXX marks 2008-05-28 19:10:09 -04:00
cairo-array.c Fix newly detected doc syntax issues 2008-06-01 18:46:45 -04:00
cairo-atomic-private.h [cairo-atomic] Check whether we can access int/pointers atomically. 2007-11-05 08:51:06 +00:00
cairo-atomic.c [cairo-atomic] Rearrange code under the correct ifdefs. 2007-11-01 22:26:06 +00:00
cairo-backend.pc.in Fix Name tag in backend .pc files to include "cairo-". 2006-07-13 14:33:41 -04:00
cairo-base85-stream.c Fix now-detected doc formatting issues 2008-06-01 19:14:13 -04:00
cairo-bentley-ottmann.c Bug: tessellator sometimes ends rightmost trapezoids too late 2008-06-18 18:35:42 +03:00
cairo-beos-surface.cpp Fix now-detected doc formatting issues 2008-06-01 19:14:13 -04:00
cairo-beos.h Use #include "cairo-*." instead of #include <cairo-*.h> 2008-06-23 00:30:04 -04:00
cairo-cache-private.h [doc] Stricter syntax check for type names, update test 2008-01-28 22:10:20 -05:00
cairo-cache.c Fix newly detected doc syntax issues 2008-06-01 18:46:45 -04:00
cairo-cff-subset.c Add links to the font specifications. 2008-04-04 09:49:34 +01:00
cairo-clip-private.h [cairo-clip] Avoid work when all clipped out. 2007-10-19 23:33:04 +01:00
cairo-clip.c [cairo-surface] Remove optional pattern argument from create_similar_solid() 2008-06-19 21:06:07 -04:00
cairo-color.c [cairo-color] Only compare the shorts for equality. 2007-05-05 12:33:29 +01:00
cairo-compiler-private.h [cairo-compiler-private] Make it build with wine 2008-05-28 16:46:55 -04:00
cairo-debug.c Rename _cairo_font_reset_static_data to _cairo_font_face_reset_static_data 2008-06-22 15:15:44 -04:00
cairo-deflate-stream.c Fix now-detected doc formatting issues 2008-06-01 19:14:13 -04:00
cairo-deprecated.h [cairo-deprecated.h] Remove mention of cairoint.h from public header 2008-05-09 15:54:10 +02:00
cairo-directfb-surface.c [dfb] fix crashes due to cached glyphs going away during operation 2008-08-09 22:10:10 -07:00
cairo-directfb.h Use #include "cairo-*." instead of #include <cairo-*.h> 2008-06-23 00:30:04 -04:00
cairo-features-win32.h [win32] Update win32 build, remove gcc dependency 2008-08-05 12:57:51 -07:00
cairo-fixed-private.h [cairo-fixed] Implement _cairo_fixed_mul_div() 2008-05-15 20:02:33 -04:00
cairo-fixed-type-private.h Change cairo's fixed-point format from 16.16 to 24.8 2008-02-27 15:08:18 -08:00
cairo-fixed.c [fixpt] Make fixed point methods static inline and generic 2007-07-18 22:45:21 +02:00
cairo-font-face.c Add toy font constructor and getters 2008-08-08 03:01:14 -04:00
cairo-font-options.c [cairo-font-options] Add private alias for set_lcd_filter() 2008-08-06 00:36:47 +01:00
cairo-freelist-private.h [doc] Make sure all macro names in docs are prefixed by % 2008-01-28 20:48:48 -05:00
cairo-freelist.c [src] Make sure all source files #include "cairoint.h" as their first include 2007-04-03 20:28:11 -04:00
cairo-ft-font.c Fix Ubuntu-specific issue with FC_LCD_NONE et al 2008-08-06 18:37:03 -04:00
cairo-ft-private.h Use #include "cairo-*." instead of #include <cairo-*.h> 2008-06-23 00:30:04 -04:00
cairo-ft.h Use #include "cairo-*." instead of #include <cairo-*.h> 2008-06-23 00:30:04 -04:00
cairo-glitz-private.h [slim] hide cairo_glitz_surface_create() (#8551) 2006-10-08 17:07:17 -04:00
cairo-glitz-surface.c [cairo-surface] Remove optional pattern argument from create_similar_solid() 2008-06-19 21:06:07 -04:00
cairo-glitz.h Use #include "cairo-*." instead of #include <cairo-*.h> 2008-06-23 00:30:04 -04:00
cairo-gstate-private.h Remove include of cairoint.h from *-private.h header files. 2007-08-23 16:13:04 -07:00
cairo-gstate.c [gstate] Revert Check for NULL font_face in _cairo_gstate_set_font_face 2008-08-10 23:39:44 -04:00
cairo-hash-private.h Move GCC attributes wrapping into a separate header. 2007-09-25 16:29:54 +01:00
cairo-hash.c Fix newly detected doc syntax issues 2008-06-01 18:46:45 -04:00
cairo-hull.c [cairo-hull] Attempt to allocate vertices on stack. 2008-06-13 21:34:41 +01:00
cairo-image-surface.c Check return from pixman_image_set_filter(). 2008-08-07 14:01:54 +01:00
cairo-lzw.c [src/check-doc-syntax.sh] Fix some bugs in the check and fix errors found 2008-05-09 15:54:04 +02:00
cairo-malloc-private.h [malloc] Check for integer overflow when realloc'ing. 2007-10-04 00:42:29 +01:00
cairo-matrix.c [matrix] Prefer a return parameter for _compute_determinant(). 2008-08-08 09:11:10 +01:00
cairo-meta-surface-private.h [meta-surface] Implement show_text_glyphs; Remove show_glyphs 2008-06-26 17:15:42 -04:00
cairo-meta-surface.c [meta] Use the pre-computed device_transform_inverse. 2008-08-07 23:54:25 +01:00
cairo-misc.c Document all new API 2008-08-08 03:04:38 -04:00
cairo-mutex-impl-private.h Use #include "cairo-*." instead of #include <cairo-*.h> 2008-06-23 00:30:04 -04:00
cairo-mutex-list-private.h [cairo-scaled-font] Create error objects on demand. 2008-02-15 13:50:42 +00:00
cairo-mutex-private.h [cairo-mutex] Prepare mutex infrastructure for adding mutex debugging facilities 2008-05-27 05:11:00 -04:00
cairo-mutex-type-private.h Use #include "cairo-*." instead of #include <cairo-*.h> 2008-06-23 00:30:04 -04:00
cairo-mutex.c [cairo-mutex] Prepare mutex infrastructure for adding mutex debugging facilities 2008-05-27 05:11:00 -04:00
cairo-os2-private.h Use #include "cairo-*." instead of #include <cairo-*.h> 2008-06-23 00:30:04 -04:00
cairo-os2-surface.c [OS/2] Fix build 2008-07-25 11:19:11 -04:00
cairo-os2.h Use #include "cairo-*." instead of #include <cairo-*.h> 2008-06-23 00:30:04 -04:00
cairo-output-stream-private.h Fix now-detected doc formatting issues 2008-06-01 19:14:13 -04:00
cairo-output-stream.c [src/check-doc-syntax.sh] Fix some bugs in the check and fix errors found 2008-05-09 15:54:04 +02:00
cairo-paginated-private.h Add paginated surface backend function _set_fallback_images_required 2008-07-08 21:12:54 +09:30
cairo-paginated-surface-private.h Remove include of cairoint.h from *-private.h header files. 2007-08-23 16:13:04 -07:00
cairo-paginated-surface.c Add paginated surface backend function _set_fallback_images_required 2008-07-08 21:12:54 +09:30
cairo-path-bounds.c [cairo-path-bounds] _cairo_path_fixed_bounds() can fail... 2008-02-27 09:47:35 +00:00
cairo-path-fill.c [quartz] Optimize path handling where possible 2008-02-25 21:06:23 -05:00
cairo-path-fixed-private.h [doc] Make sure all function names in docs are followed by () 2008-01-28 21:49:57 -05:00
cairo-path-fixed.c Fix now-detected doc formatting issues 2008-06-01 19:14:13 -04:00
cairo-path-private.h [cairo-path] Make _cairo_path_nil static. 2007-10-30 10:58:16 +00:00
cairo-path-stroke.c [matrix] Prefer a return parameter for _compute_determinant(). 2008-08-08 09:11:10 +01:00
cairo-path.c [doc] Replace 'NOTE' by 'Note' and add it to test 2008-01-28 21:53:44 -05:00
cairo-pattern.c [pattern] Unbounded patterns should have infinite extents. 2008-08-11 20:43:14 +01:00
cairo-pdf-operators-private.h PDF/PS: Remember the current line style 2008-07-08 22:57:22 +09:30
cairo-pdf-operators.c [pdf-operators] Add note about clusters with no glyphs 2008-08-08 03:01:18 -04:00
cairo-pdf-surface-private.h Add show_text_glyphs to PDF surface 2008-06-29 19:55:41 +09:30
cairo-pdf-surface.c Remove unnecessary checks for CAIRO_STATUS_INVALID_STRING 2008-08-08 03:01:14 -04:00
cairo-pdf.h Use #include "cairo-*." instead of #include <cairo-*.h> 2008-06-23 00:30:04 -04:00
cairo-pen.c [matrix] Prefer a return parameter for _compute_determinant(). 2008-08-08 09:11:10 +01:00
cairo-png.c Bit swap when writing FORMAT_A1 to PNG on little endian 2008-06-04 22:59:53 +09:30
cairo-polygon.c Enlarge the embedded arrays to eliminate frequent allocations. 2008-06-13 21:34:42 +01:00
cairo-private.h [cairo] Cache freed gstates. 2008-06-13 21:34:41 +01:00
cairo-ps-surface-private.h PS: Remember current color 2008-07-05 16:23:43 +09:30
cairo-ps-surface.c Add PDF operators function to reset any remembered state 2008-07-08 22:00:15 +09:30
cairo-ps.h Use #include "cairo-*." instead of #include <cairo-*.h> 2008-06-23 00:30:04 -04:00
cairo-quartz-font.c [quartz] Protect against NULL from CGFontGetHMetricsPtr 2008-07-09 13:06:23 -07:00
cairo-quartz-image-surface.c Fix cairo-quartz-image-surface compilation error 2008-07-18 15:55:11 -07:00
cairo-quartz-image.h Use #include "cairo-*." instead of #include <cairo-*.h> 2008-06-23 00:30:04 -04:00
cairo-quartz-private.h Use #include "cairo-*." instead of #include <cairo-*.h> 2008-06-23 00:30:04 -04:00
cairo-quartz-surface.c [quartz] Take snapshot instead of using CGImageCreateCopy 2008-07-09 13:20:53 -07:00
cairo-quartz.h Use #include "cairo-*." instead of #include <cairo-*.h> 2008-06-23 00:30:04 -04:00
cairo-rectangle.c [cairo-rectangle] Add new convenience functions for working with cairo_box_t 2008-05-09 15:54:11 +02:00
cairo-reference-count-private.h Simplify CAIRO_REFERENCE_COUNT_INVALID macro 2007-10-09 14:27:53 -07:00
cairo-region-private.h Use 32 bit pixman regions for cairo_region_t 2008-06-10 18:09:00 -04:00
cairo-region.c Use 32 bit pixman regions for cairo_region_t 2008-06-10 18:09:00 -04:00
cairo-scaled-font-private.h [cairo-scaled-font] Clean up recent locking changes 2008-05-25 01:51:05 -04:00
cairo-scaled-font-subsets-private.h Fix doc syntax 2008-08-11 01:44:54 -04:00
cairo-scaled-font-subsets.c Fix _cairo_sub_font_map_glyph() to return correct unicode value 2008-08-10 14:18:52 +09:30
cairo-scaled-font.c Document all new API 2008-08-08 03:04:38 -04:00
cairo-skiplist-private.h [cairo-skiplist] Use one random number per insertion, instead of two 2007-04-09 19:39:50 -04:00
cairo-skiplist.c [cairo-error] Clean up all the warnings and missing _cairo_error() calls. 2007-10-04 13:31:44 +01:00
cairo-slope.c Remove _cairo_slope_[counter_]clockwise 2008-02-20 04:04:04 -08:00
cairo-spline.c [cairo-spline] Eliminate redundant _cairo_fixed_to_double(). 2007-11-01 22:42:34 +00:00
cairo-stroke-style.c Do correct calculation of pen dimensions for stroke optimization 2008-02-06 13:07:13 -08:00
cairo-surface-fallback-private.h Revert "[cairo-gstate] Avoid copying untransformed glyphs." 2007-08-31 16:53:21 +01:00
cairo-surface-fallback.c Allocate the correct pattern type on the stack. 2008-06-13 21:37:58 +01:00
cairo-surface-private.h [cairo-atomic] Rewrite reference counting using atomic ops. 2007-09-25 16:29:54 +01:00
cairo-surface.c [cairo-surface] Check for the error surface in _get_font_options() 2008-08-12 21:30:51 +01:00
cairo-svg-surface-private.h Remove include of cairoint.h from *-private.h header files. 2007-08-23 16:13:04 -07:00
cairo-svg-surface.c Allow _cairo_scaled_font_subsets_map_glyph() to specify utf8 mapping 2008-06-29 19:33:58 +09:30
cairo-svg.h Use #include "cairo-*." instead of #include <cairo-*.h> 2008-06-23 00:30:04 -04:00
cairo-traps.c [cairo-traps] Fix overflow in traps_path code 2008-05-15 20:03:05 -04:00
cairo-truetype-subset-private.h TrueType: fix bug #9998 - build error with gcc 2.95 2007-02-17 10:55:14 +10:30
cairo-truetype-subset.c [truetype] Fix gcc warning about possibly-infinite-loops 2008-08-08 03:01:17 -04:00
cairo-type1-fallback.c Type1-fallback: Use correct glyph metrics for .notdef glyph 2008-04-06 00:36:02 +10:30
cairo-type1-private.h Remove include of cairoint.h from *-private.h header files. 2007-08-23 16:13:04 -07:00
cairo-type1-subset.c Disable UniqueID font check in Type 1 subset font 2008-06-03 20:51:39 +09:30
cairo-type3-glyph-surface-private.h Implement PS Type 3 font image support 2008-06-08 17:12:02 +09:30
cairo-type3-glyph-surface.c Implement PS Type 3 font image support 2008-06-08 17:12:02 +09:30
cairo-types-private.h Add lcd filter type to the public API and font options 2008-08-05 16:30:36 -04:00
cairo-unicode.c [unicode] Add _cairo_utf8_get_char_validated() 2008-08-08 03:01:16 -04:00
cairo-user-font-private.h Change _cairo_font_face_is_user() from static to cairo_private 2008-06-08 16:50:34 +09:30
cairo-user-font.c Add cairo_scaled_font_text_to_glyphs() 2008-08-08 03:01:16 -04:00
cairo-wideint-private.h [cairo-fixed/wideint-private.h] Split out typedefs from prototypes 2008-01-20 02:55:07 -05:00
cairo-wideint-type-private.h Add support for byteswap macros bswap_16 and bswap_32 2008-05-28 12:02:16 -04:00
cairo-wideint.c cairo-wideint: Fix to eliminate comparison of signed and unsigned values 2007-01-20 02:01:29 -08:00
cairo-win32-font.c win32-font: Make cairo_show_text() work again 2008-08-10 14:17:01 +09:30
cairo-win32-printing-surface.c Win32-printing: Fix Type 1 font printing so fallback is not used 2008-08-10 14:24:16 +09:30
cairo-win32-private.h Win32-printing: Fix Type 1 font printing so fallback is not used 2008-08-10 14:24:16 +09:30
cairo-win32-surface.c Win32: Fix uninitialized variable 2008-08-12 07:34:24 +09:30
cairo-win32.c Implement a win32 tmpfile() function 2007-12-29 00:25:34 +10:30
cairo-win32.h Use #include "cairo-*." instead of #include <cairo-*.h> 2008-06-23 00:30:04 -04:00
cairo-xcb-surface.c Allocate the correct pattern type on the stack. 2008-06-13 21:37:58 +01:00
cairo-xcb-xrender.h Use #include "cairo-*." instead of #include <cairo-*.h> 2008-06-23 00:30:04 -04:00
cairo-xcb.h Use #include "cairo-*." instead of #include <cairo-*.h> 2008-06-23 00:30:04 -04:00
cairo-xlib-display.c [cairo-xlib] Cache standard xrender formats. 2008-05-06 14:31:45 +01:00
cairo-xlib-private.h [xlib] Implement dithering 2008-06-19 21:54:23 -04:00
cairo-xlib-screen.c Fix Ubuntu-specific issue with FC_LCD_NONE et al 2008-08-06 18:37:03 -04:00
cairo-xlib-surface-private.h xlib: Add support for arbitrary TrueColor visuals 2008-03-20 11:51:57 -07:00
cairo-xlib-surface.c [xlib] Check for depth == 0 in create_surface_internal(). 2008-08-10 08:44:45 +01:00
cairo-xlib-visual.c [xlib] Implement dithering 2008-06-19 21:54:23 -04:00
cairo-xlib-xrender-private.h [cairo-xlib-xrender] Simplify dummy XRender function stubs 2008-06-18 20:48:09 -04:00
cairo-xlib-xrender.h Use #include "cairo-*." instead of #include <cairo-*.h> 2008-06-23 00:30:04 -04:00
cairo-xlib.h Use #include "cairo-*." instead of #include <cairo-*.h> 2008-06-23 00:30:04 -04:00
cairo.c Document all new API 2008-08-08 03:04:38 -04:00
cairo.h Add note about zero-glyph clusters 2008-08-08 17:13:27 -04:00
cairo.pc.in Improve backend .pc files generation: 2006-07-12 04:27:55 -04:00
cairoint.h [matrix] Prefer a return parameter for _compute_determinant(). 2008-08-08 09:11:10 +01:00
check-cairoint.sh Make check-*.sh scripts more portable (#16299) 2008-06-12 21:03:19 -04:00
check-def.sh [src/check-def.sh] Make sure no global variables are named cairo_* 2008-06-19 17:43:52 -04:00
check-doc-syntax.sh Make check-*.sh scripts more portable (#16299) 2008-06-12 21:03:19 -04:00
check-has-hidden-symbols.c [check] Move the hidden symbol check into check-{def,plt}.sh 2008-01-11 21:21:34 +00:00
check-headers.sh Make check-*.sh scripts more portable (#16299) 2008-06-12 21:03:19 -04:00
check-plt.sh Make check-*.sh scripts more portable (#16299) 2008-06-12 21:03:19 -04:00
Makefile.am [src/Makefile.am] Include missing header file 2008-08-11 13:54:26 -04:00
Makefile.win32 [win32] Fix build 2008-08-05 16:36:04 -04:00
test-fallback-surface.c [doc] Make sure all macro names in docs are prefixed by % 2008-01-28 20:48:48 -05:00
test-fallback-surface.h [test-surfaces] Prefix public symbols with _cairo 2007-03-13 05:14:19 -04:00
test-meta-surface.c Remove _cairo_surface_show_glyphs() in favor of _cairo_surface_show_text_glyphs() 2008-06-30 22:11:48 -04:00
test-meta-surface.h [test-surfaces] Prefix public symbols with _cairo 2007-03-13 05:14:19 -04:00
test-paginated-surface.c Remove _cairo_surface_show_glyphs() in favor of _cairo_surface_show_text_glyphs() 2008-06-30 22:11:48 -04:00
test-paginated-surface.h [test-surfaces] Prefix public symbols with _cairo 2007-03-13 05:14:19 -04:00