diff options
| author | Mattias EngdegÄrd | 2024-01-18 18:45:16 +0100 |
|---|---|---|
| committer | Mattias EngdegÄrd | 2024-01-18 18:56:26 +0100 |
| commit | ef01250ef9c22aa1ac2ecff3136aabf79b2a677b (patch) | |
| tree | ecbbbd985351cb27c10ad9b7414408eba44a5067 /admin | |
| parent | 2c887f497c723c2397888e2f406faa4de3a8208a (diff) | |
| download | emacs-ef01250ef9c22aa1ac2ecff3136aabf79b2a677b.tar.gz emacs-ef01250ef9c22aa1ac2ecff3136aabf79b2a677b.zip | |
Only use a hash index size of 1 for tables with size 0 (bug#68244)
This invariant was intended but insufficiently enforced which could
lead to an assertion failure.
* src/fns.c (hash_index_size): Assume size>0, and return a value >1.
(make_hash_table): Only use hash_index_size for size>0.
Diffstat (limited to 'admin')
0 files changed, 0 insertions, 0 deletions