• Paul Eggert's avatar
    * alloc.c: Check that resized vectors' lengths fit in fixnums. · dd0b0efb
    Paul Eggert authored
    (header_size, word_size): New constants.
    (allocate_vectorlike): Don't check size overflow here.
    (allocate_vector): Check it here instead, since this is the only
    caller of allocate_vectorlike that could cause overflow.
    Check that the new vector's length is representable as a fixnum.
    dd0b0efb
ChangeLog 183 KB