mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-18 16:28:07 +02:00
If the bitmap's min is non-zero, _bitmap_next_id() could break out of its loop early, before initializing the prev variable. prev would then be dereferenced without a null ptr check. This condition should never occur in practice, so add an assert() to assure it doesn't. Same issue is present in trace.c. Coverity IDs: #1159557, #1159558 Reviewed-By: Uli Schlachter <psychon@znc.in> Signed-off-by: Bryce Harrington <bryce@bryceharrington.org> |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| cairo-trace.in | ||
| COPYING | ||
| COPYING-GPL-3 | ||
| lookup-symbol.c | ||
| lookup-symbol.h | ||
| Makefile.am | ||
| trace.c | ||