* cp-demangle.c (d_print_comp): Guard against null.
+2007-07-31 Michael Snyder <msnyder@access-company.com>
+
+ * cp-demangle.c (d_print_comp): Guard against null.
+
2007-07-25 Ben Elliston <bje@au.ibm.com>
* Makefile.in (CFILES): Remove ternary.c.
typed_name = d_left (typed_name);
}
+ if (typed_name == NULL)
+ {
+ d_print_error (dpi);
+ return;
+ }
+
/* If typed_name is a template, then it applies to the
function type as well. */
if (typed_name->type == DEMANGLE_COMPONENT_TEMPLATE)