pike.git / src / encode.c

version» Context lines:

pike.git/src/encode.c:4386:       ref.identifier_offset = p->inherits[ref.inherit_offset].prog->    identifier_references[ref_no].identifier_offset;       ref.run_time_type = PIKE_T_UNKNOWN;    ref.func.offset = 0;       /* Expected identifier reference number */    decode_number(no, data);    -  if (no > p->num_identifier_references) { +  if (no < 0 || no > p->num_identifier_references) {    EDB (3, dump_program_tables (p, data->depth));    ref_push_program (p);    decode_error(data, Pike_sp - 1,    "Bad identifier reference offset: %d != %d\n",    no,    Pike_compiler->new_program->    num_identifier_references);    } else if (no == p->num_identifier_references) {    add_to_identifier_references(ref);    }