=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ctfconv/parse.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- src/usr.bin/ctfconv/parse.c 2017/09/24 08:44:14 1.6 +++ src/usr.bin/ctfconv/parse.c 2017/09/24 09:14:25 1.7 @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.c,v 1.6 2017/09/24 08:44:14 jsg Exp $ */ +/* $OpenBSD: parse.c,v 1.7 2017/09/24 09:14:25 jsg Exp $ */ /* * Copyright (c) 2016-2017 Martin Pieuchot @@ -606,6 +606,8 @@ break; case DW_TAG_base_type: it = parse_base(die, psz); + if (it == NULL) + continue; break; case DW_TAG_const_type: it = parse_refers(die, psz, CTF_K_CONST);