diff options
| author | Paul Eggert | 2019-07-21 11:20:07 -0700 |
|---|---|---|
| committer | Paul Eggert | 2019-07-21 11:24:11 -0700 |
| commit | c72e6328b408805953a5adf832b5c5cc9f3a75e7 (patch) | |
| tree | 33e715f4a28ff12e9d6d5fa1b8cdc81d406a5838 /src/alloc.c | |
| parent | cf285946bee56912286f75e4d1215214bc7c5b4b (diff) | |
| download | emacs-c72e6328b408805953a5adf832b5c5cc9f3a75e7.tar.gz emacs-c72e6328b408805953a5adf832b5c5cc9f3a75e7.zip | |
Avoid integer overflow in hash table size
* 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.
Diffstat (limited to 'src/alloc.c')
0 files changed, 0 insertions, 0 deletions