[cairo] [PATCH cairo 0/3] Coverity fixes

Bryce Harrington bryce at bryceharrington.org
Sat Jun 9 05:34:24 UTC 2018


I took a browse through the Coverity results for Cairo.  The vast
majority of the results (over a thousand) were false positives, but
these three looked reasonable.  I'd appreciate another set of eyes
before I land them.

Bryce Harrington (3):
  script-surface: Check for invalid ids (CID #1159557, 1159558)
  bo: Check null return from _cairo_malloc_ab() (CID #1159556)
  snapshot: Don't use extra after it's been freed (CID #220086)

 src/cairo-bentley-ottmann.c  | 7 +++++--
 src/cairo-script-surface.c   | 3 ++-
 src/cairo-surface-snapshot.c | 1 +
 util/cairo-trace/trace.c     | 4 +++-
 4 files changed, 11 insertions(+), 4 deletions(-)

-- 
2.7.4



More information about the cairo mailing list