diff options
| author | Paul Eggert | 2020-08-14 14:33:21 -0700 |
|---|---|---|
| committer | Paul Eggert | 2020-08-14 15:51:52 -0700 |
| commit | 4ecc2ba01db5029c42d3b7f1418a021cccf2dc67 (patch) | |
| tree | dbddc98222b1fbdb7d3af0f373d21fb3b2c73467 /src/coding.c | |
| parent | ca6c3bec0769d8ac7a49cdb8d2580add5485366e (diff) | |
| download | emacs-4ecc2ba01db5029c42d3b7f1418a021cccf2dc67.tar.gz emacs-4ecc2ba01db5029c42d3b7f1418a021cccf2dc67.zip | |
Fix bus error on Debian bullseye
Problem reported by Lars Ingebrigtsen, and problem diagnosis
and most of this patch by Pip Cet (Bug#42832).
* src/pdumper.c (dump_bitsets_init): Rename from dump_bitset_init.
All callers changed. Initialize two bitsets with a single malloc
call.
(struct pdumper_loaded_dump_private): New member last_mark_bits.
(pdumper_find_object_type_impl): Return PDUMPER_NO_OBJECT if
the last_mark_bits’ bit is clear.
(pdumper_set_marked_impl): Assert that the last_mark_bits’
bit is set.
(pdumper_clear_marks_impl): Save mark_bits into
last_mark_bits before clearing mark_bits.
Co-authored-by: Pip Cet <pipcet@gmail.com>
Diffstat (limited to 'src/coding.c')
0 files changed, 0 insertions, 0 deletions