--- mozilla/mozilla/gfx/cairo/cairo/src/cairo-path-fixed.c.original 2011-05-28 09:24:53.000000000 -0400 +++ mozilla/mozilla/gfx/cairo/cairo/src/cairo-path-fixed.c 2011-06-01 17:35:19.819689227 -0400 @@ -675,11 +675,12 @@ "_cairo_path_fixed_add (%s, %s)\n", op_str[(int) op], buf); } _cairo_path_buf_add_op (buf, op); - _cairo_path_buf_add_points (buf, points, num_points); + if (num_points) + _cairo_path_buf_add_points (buf, points, num_points); return CAIRO_STATUS_SUCCESS; } static void