Branch: Tag:

2014-10-17

2014-10-17 22:19:48 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Tools.Standalone.autodoc_to_html: Improved robustness.

Fixed NULL-deref in output_from_type().

1330:       void output_from_type(Node x, bool toplevel )    { -  if( x->get_node_type() != XML_ELEMENT ) return; +  if( !x || x->get_node_type() != XML_ELEMENT ) return;    switch( x->get_any_name() )    {    case "object": /*add_typed("object"); */break; /* this is a no-op.. */