Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx> --- graph.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/graph.c b/graph.c index 8cbc22027..c9af9a580 100644 --- a/graph.c +++ b/graph.c @@ -130,6 +130,8 @@ static void graph_calls(struct entrypoint *ep, int internal) continue; FOR_EACH_PTR(bb->insns, insn) { + if (!insn->bb) + continue; if (insn->opcode == OP_CALL && internal == !(insn->func->sym->ctype.modifiers & MOD_EXTERN)) { -- 2.14.0 -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html