pike.git / src / array.c

version» Context lines:

pike.git/src/array.c:101:       /* struct array contains one svalue already */    length --;       if (DO_SIZE_T_MUL_OVERFLOW(length, sizeof(struct svalue), &length) ||    DO_SIZE_T_ADD_OVERFLOW(length, sizeof(struct array), &length)) goto TOO_BIG;       v=xcalloc(length, 1);       GC_ALLOC(v); +  gc_init_marker(v);       /* for now, we don't know what will go in here */    v->type_field = BIT_MIXED | BIT_UNFINISHED;       v->malloced_size = (INT32)(size + extra_space);    v->item=v->real_item;    v->size = (INT32)size;    INIT_PIKE_MEMOBJ(v, T_ARRAY);    DOUBLELINK (first_array, v);