cairo/src
Carl Worth c26a7de970 Prevent potentially infinite wandering through memeory in _cairo_hull_prev_valid
It is possible for _cairo_hull_prev_valid to be called just once
right before the calling loop is going to terminate. In this
case we really don't want to walk off the beginning of the
array and start wandering.

Thanks to Jonathan Watt for noticing this problem:

	https://bugzilla.mozilla.org/show_bug.cgi?id=306649#c21
2008-04-08 01:54:27 -07:00
..
.gitignore [gitignore] Ignore cairo-no-features.h 2008-02-20 10:57:14 +00:00
cairo-analysis-surface-private.h Add Encapsulated PostScript support 2007-09-23 17:43:44 +09:30
cairo-analysis-surface.c Fix assertion in PS/PDF/Win32-print when fallback image is off the page 2008-03-24 12:16:20 +10:30
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 Rename ARRAY_LEN to ARRAY_LENGTH 2007-04-10 10:14:49 -07:00
cairo-array.c [cairo-array] Guard against integer overflow whilst growing the array. 2008-04-03 17:36:50 +01: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 [doc] Make sure all function names in docs are followed by () 2008-01-28 21:49:57 -05:00
cairo-bentley-ottmann.c [doc] Replace 'NOTE' by 'Note' and add it to test 2008-01-28 21:53:44 -05:00
cairo-beos-surface.cpp [doc] Make sure all function names in docs are followed by () 2008-01-28 21:49:57 -05:00
cairo-beos.h Remove initial, final, and duplicate blank lines. 2006-06-06 15:50:33 -07: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 [doc] Replace 'NOTE' by 'Note' and add it to test 2008-01-28 21:53:44 -05: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-clip] Raise _cairo_error() at original error site. 2008-03-04 09:31:20 +00:00
cairo-color.c [cairo-color] Only compare the shorts for equality. 2007-05-05 12:33:29 +01:00
cairo-compiler-private.h Fix msvc compilation issue in cairo-compiler-private.h 2008-03-03 21:16:12 -08:00
cairo-debug.c [cairo-scaled-font] Create error objects on demand. 2008-02-15 13:50:42 +00:00
cairo-deflate-stream.c [doc] Make sure all function names in docs are followed by () 2008-01-28 21:49:57 -05:00
cairo-deprecated.h [API] unbreak CAIRO_FONT_TYPE_ATSUI 2008-03-23 15:31:24 +01:00
cairo-directfb-surface.c [cairo-directfb] Fixed bug in clone_similar() (src_x added twice). 2008-03-01 11:07:47 +01:00
cairo-directfb.h [doc] Make sure all macro names in docs are prefixed by % 2008-01-28 20:48:48 -05:00
cairo-fixed-private.h Fix typo in comment 2008-02-28 15:05:12 -08: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 [cairo-font-face] Cleanup up the font_face on the error path. 2008-04-03 15:41:31 +01:00
cairo-font-options.c [docs] Fix typo 2008-02-15 15:56:29 -05: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 Define _BSD_SOURCE to enable prototypes for strdup, snprintf. 2008-03-12 17:52:16 +00:00
cairo-ft-private.h [cairo-ft-font] Add paranoid error checking to Fc* operations. 2007-10-16 10:56:24 +01:00
cairo-ft.h Give cairo_public an empty definition by default. 2005-09-07 16:31:22 +00:00
cairo-glitz-private.h [slim] hide cairo_glitz_surface_create() (#8551) 2006-10-08 17:07:17 -04:00
cairo-glitz-surface.c Use floating-point offsets for color stops 2008-03-26 14:52:09 -07:00
cairo-glitz.h Give cairo_public an empty definition by default. 2005-09-07 16:31:22 +00: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 Quiet some trivial unused and potentially-uninitialized compiler warnings 2008-04-01 14:40:18 -07:00
cairo-hash-private.h Move GCC attributes wrapping into a separate header. 2007-09-25 16:29:54 +01:00
cairo-hash.c [doc] Make sure all type names in docs are prefixed by # 2008-01-28 20:49:44 -05:00
cairo-hull.c Prevent potentially infinite wandering through memeory in _cairo_hull_prev_valid 2008-04-08 01:54:27 -07:00
cairo-image-surface.c Remove unused variable 2008-03-26 14:52:09 -07:00
cairo-lzw.c [doc] Replace 'NOTE' by 'Note' and add it to test 2008-01-28 21:53:44 -05:00
cairo-malloc-private.h [malloc] Check for integer overflow when realloc'ing. 2007-10-04 00:42:29 +01:00
cairo-matrix.c Compile fix for AIX. 2008-02-15 13:50:43 +00:00
cairo-meta-surface-private.h Fix some trivial syntax warnings for -ansi. 2007-10-10 14:56:52 +01:00
cairo-meta-surface.c Don't use fill-stroke during analysis 2008-03-15 00:28:21 +10:30
cairo-misc.c [cairo-misc.c] Add misc functions to this file 2008-02-17 02:32:24 -05: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 [doc] Make sure all macro names in docs are prefixed by % 2008-01-28 20:48:48 -05:00
cairo-mutex-type-private.h [doc] Make sure all type names in docs are prefixed by # 2008-01-28 20:49:44 -05:00
cairo-mutex.c [cairo-mutex] Fix typo. 2007-05-03 19:04:21 -04:00
cairo-os2-private.h Remove include of cairoint.h from *-private.h header files. 2007-08-23 16:13:04 -07:00
cairo-os2-surface.c [os2] fix typo in comment 2008-02-08 15:09:19 +01:00
cairo-os2.h [os2] Improve documentation 2008-02-07 00:03:33 +01:00
cairo-output-stream-private.h Make _cairo_dtostr() static 2008-03-20 18:15:09 +10:30
cairo-output-stream.c Add %g conversion specifer to output-stream for limited precision 2008-03-20 18:15:10 +10:30
cairo-paginated-private.h [doc] Stricter syntax check for type names, update test 2008-01-28 22:10:20 -05:00
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 Round fallback image size up instead of down 2008-03-09 16:40:25 +10: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 bug in _cairo_path_fixed_is_equal 2008-03-15 00:18:59 +10:30
cairo-path-private.h [cairo-path] Make _cairo_path_nil static. 2007-10-30 10:58:16 +00:00
cairo-path-stroke.c Correctly pass the device-space vector through to stroker 2008-03-13 15:37:57 -07: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 Revert "_cairo_pattern_get_extents: Fix to allow for expansion based on filter" 2008-04-07 16:09:06 -07:00
cairo-pdf-operators-private.h [pdf-operators] Missing private markup. 2008-02-20 10:56:24 +00:00
cairo-pdf-operators.c PDF: Fix glyph positioning bug 2008-04-04 08:41:08 +10:30
cairo-pdf-surface-private.h PDF/PS: No need to use save/restore for solid colors 2008-02-17 21:33:04 +10:30
cairo-pdf-surface.c Add underscore prefix to private _cairo_pdf_surface_set_size_internal 2008-04-07 13:03:58 -07:00
cairo-pdf.h cairo-pdf.h: Add missing cairo_public decorators 2006-09-18 13:32:00 -04:00
cairo-pen.c Eliminate a potential infinite loop in spline stroking 2008-02-20 04:04:04 -08:00
cairo-png.c Check surface->status and finished in cairo_surface_write_to_png 2008-04-08 00:41:09 -07:00
cairo-polygon.c [cairo-error] Clean up all the warnings and missing _cairo_error() calls. 2007-10-04 13:31:44 +01:00
cairo-private.h [cairo-atomic] Rewrite reference counting using atomic ops. 2007-09-25 16:29:54 +01:00
cairo-ps-surface-private.h PS: Use currentfile as the image data source 2008-02-15 07:42:29 +10:30
cairo-ps-surface.c PS: Fix emulation of 'Td' pdf operator 2008-04-04 19:26:36 +10:30
cairo-ps.h [doc] Stricter syntax check for type names, update test 2008-01-28 22:10:20 -05:00
cairo-quartz-font.c [cgfont] typo fix 2008-04-02 23:37:24 -07:00
cairo-quartz-image-surface.c [quartz] remove some compiler warnings 2008-03-13 15:37:57 -07:00
cairo-quartz-image.h [quartz] split out (experimental) quartz-image into separate file 2008-03-07 14:49:15 -08:00
cairo-quartz-private.h [cgfont] Add start of CGFont font backend to replace ATSUI 2008-04-01 13:04:08 -07:00
cairo-quartz-surface.c [quartz] Update documentation 2008-04-01 13:26:00 -07:00
cairo-quartz.h [cgfont] Add start of CGFont font backend to replace ATSUI 2008-04-01 13:04:08 -07:00
cairo-rectangle.c Quiet a more subtle potentially-uninitialized warning 2008-04-01 14:49:03 -07:00
cairo-reference-count-private.h Simplify CAIRO_REFERENCE_COUNT_INVALID macro 2007-10-09 14:27:53 -07:00
cairo-region-private.h [doc] Stricter syntax check for type names, update test 2008-01-28 22:10:20 -05:00
cairo-region.c [doc] Make sure all type names in docs are prefixed by # 2008-01-28 20:49:44 -05:00
cairo-scaled-font-private.h [cairo-scaled-font] Don't err on font size 0, really 2008-01-24 23:35:06 -05:00
cairo-scaled-font-subsets-private.h [doc] Stricter syntax check for type names, update test 2008-01-28 22:10:20 -05:00
cairo-scaled-font-subsets.c scaled-font-subsets: Special case .notdef in a new subset 2008-04-06 01:08:31 +10:30
cairo-scaled-font.c [cairo-scaled-font] Pedantic check for zero-area glyphs 2008-02-28 18:53:45 -05: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 Quiet warning about signed vs. unsigned comparison 2008-03-25 13:17:49 -07:00
cairo-surface-private.h [cairo-atomic] Rewrite reference counting using atomic ops. 2007-09-25 16:29:54 +01:00
cairo-surface.c Document many more defaults 2008-04-06 02:47:32 -07: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 SVG: Fix generation of mask_id identifiers 2008-04-07 15:56:26 -07:00
cairo-svg.h [doc] Stricter syntax check for type names, update test 2008-01-28 22:10:20 -05:00
cairo-traps.c Optimize dashed strokes, part 2 2008-02-05 15:04:28 -08: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 buffer check 2008-04-04 20:29:12 +10:30
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 Add links to the font specifications. 2008-04-04 09:49:34 +01:00
cairo-types-private.h Remember the results of _cairo_image_analyze_transparency 2008-03-10 17:04:01 +10:30
cairo-unicode.c [doc] Make sure all function names in docs are followed by () 2008-01-28 21:49:57 -05: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 [cairo-fixed/wideint-private.h] Split out typedefs from prototypes 2008-01-20 02:55:07 -05: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: Fix bug in cairo_win32_font_face_create_for_hfont() 2008-03-26 23:04:35 +10:30
cairo-win32-printing-surface.c Use floating-point offsets for color stops 2008-03-26 14:52:09 -07:00
cairo-win32-private.h [win32] Better tracking of initial clip 2008-01-24 11:24:02 -08:00
cairo-win32-surface.c [win32] Prevent crash in create_similar if win32_surface_create fails 2008-03-25 11:53:52 -07:00
cairo-win32.c Implement a win32 tmpfile() function 2007-12-29 00:25:34 +10:30
cairo-win32.h [win32] remove ignore_operators flag from win32 printing surface 2007-10-09 13:56:59 -07:00
cairo-xcb-surface.c [doc] Replace 'NOTE' by 'Note' and add it to test 2008-01-28 21:53:44 -05:00
cairo-xcb-xrender.h XCB: Move slim_hidden_def to cairo-xcb-surface.c, not cairo-xcb-xrender.h. 2006-10-16 11:44:08 -07:00
cairo-xcb.h Update XCB names for XCB 1.0 RC2 release. 2006-10-11 21:52:49 -07:00
cairo-xlib-display.c Enable buggy_repeat workaround for X.Org servers < 1.4 2008-04-04 11:30:16 -07:00
cairo-xlib-private.h [cairo-xlib] Handle malloc failures for cairo_xlib_visual_info_t. 2008-04-02 10:50:48 +01:00
cairo-xlib-screen.c [cairo-xlib] Handle malloc failures for cairo_xlib_visual_info_t. 2008-04-02 10:50:48 +01: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 [cairo-xlib] Do not create surface with mismatching Visual and PictFormat. 2008-04-08 07:52:47 +01:00
cairo-xlib-visual.c [cairo-xlib] Handle malloc failures for cairo_xlib_visual_info_t. 2008-04-02 10:50:48 +01:00
cairo-xlib-xrender-private.h [cairo-xlib] Fixup --disable-xlib-xrender 2008-01-15 13:08:53 +00:00
cairo-xlib-xrender.h Add new API cairo_xlib_surface_get_render_format 2008-01-28 15:39:39 -08:00
cairo-xlib.h Surface size getters for xlib 2006-06-25 11:23:43 +02:00
cairo.c Add missing parens() to function name in gtk-doc comment 2008-04-06 03:09:45 -07:00
cairo.h Document many more defaults 2008-04-06 02:47:32 -07:00
cairo.pc.in Improve backend .pc files generation: 2006-07-12 04:27:55 -04:00
cairoint.h Change default filter from BEST to GOOD 2008-04-06 01:07:32 -07:00
check-cairoint.sh [src/check-cairoint.sh] Fix typo in shell script 2007-12-18 15:59:19 -05:00
check-def.sh [src/check-*] Shut make up 2008-01-28 20:14:52 -05:00
check-doc-syntax.sh Disable enum_regexp test in check-doc-syntax.h 2008-03-20 15:37:04 -07: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 [configure.in] Generate a cairo-no-features.h with macros for disabled supported backends 2008-01-28 23:26:35 -05:00
check-plt.sh [src/check-*] Shut make up 2008-01-28 20:14:52 -05:00
Makefile.am [cgfont] Add start of CGFont font backend to replace ATSUI 2008-04-01 13:04:08 -07:00
Makefile.win32 Added cairo-misc.c to makefile 2008-02-19 00:17:47 -05: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 [cairo-surface] Introduce _cairo_surface_create_in_error(). 2008-01-16 16:51:32 +00:00
test-meta-surface.h [test-surfaces] Prefix public symbols with _cairo 2007-03-13 05:14:19 -04:00
test-paginated-surface.c [cairo-surface] Introduce _cairo_surface_create_in_error(). 2008-01-16 16:51:32 +00:00
test-paginated-surface.h [test-surfaces] Prefix public symbols with _cairo 2007-03-13 05:14:19 -04:00