Branch: Tag:


2015-09-25 11:41:47 by Henrik Grubbström (Grubba) <>

Type-checker: Fixed typo in handling of NOT-types.

This could cause incremental writes (and likely core-dumps) anywhere
in the 32-bit address space, but was unlikely to be triggered in
practice due to NOT-types not being available at Pike level.

7059:    case T_NOT:    if (!(res = new_get_return_type(fun_type->car, flags))) {    copy_pike_type(res, mixed_type_string); -  } else if (res->type == T_INT) { +  } else if (res->type == T_NOT) {    tmp = res;    copy_pike_type(res, tmp->car);    free_type(tmp);