• Paul Eggert's avatar
    Avoid integer overflow in hash table size · c72e6328
    Paul Eggert authored
    * src/fns.c (INDEX_SIZE_BOUND): Use a tighter bound.
    (maybe_resize_hash_table): Avoid integer overflow when
    checking for hash table size overflow.  Fix confusion
    between INDEX_SIZE_BOUND (which is for the index vector)
    and hash table size.  Fix typo in debugging message
    when ENABLE_CHECKING.
    c72e6328
fns.c 159 KB