Branch: Tag:

2014-12-04

2014-12-04 19:24:55 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Fixed broken attribute handling.

debug_push_finished_type_with_markers() had broken handling of
PIKE_T_ATTRIBUTE types (struct pike_strings were handled as types),
which could trigger SIGSEGV.

1207:    /* Keep the attribute. */    push_finished_type_with_markers(type->cdr, markers, marker_set);    push_type_attribute((struct pike_string *)type->car); +  goto done;    }    /* FIXME: T_SCOPE */   
1269:    /* push_type has sufficient magic to recreate the type. */    push_type(type->type);    } +  done:    TYPE_STACK_DEBUG("push_finished_type_with_markers");   }