Branch: Tag:

2022-03-14

2022-03-14 13:51:40 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler [Typechecker]: Fix NULL-deref.

3719:    copy_pike_type(n->type, CDR(n)->type);    } else {    struct pike_type *t; -  if( CDR(n)->type->type == PIKE_T_AUTO ) +  if( CDR(n)->type && (CDR(n)->type->type == PIKE_T_AUTO) )    {    /* Update to actual type (assign from soft-cast to auto). */    free_type( CDR(n)->type );