[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#41520: 28.0.50; Crash in character.h due to assertion error
From: |
Pip Cet |
Subject: |
bug#41520: 28.0.50; Crash in character.h due to assertion error |
Date: |
Mon, 25 May 2020 07:41:54 +0000 |
On Mon, May 25, 2020 at 7:28 AM Pip Cet <pipcet@gmail.com> wrote:
> On Mon, May 25, 2020 at 7:06 AM Stefan Kangas <stefan@marxist.se> wrote:
> There's at least one other place that has the same error, so I'll grep
> some more before sending a patch.
Patch attached (it compiles, but I haven't tested it thoroughly). This
should fix two bugs in xdisp.c and a bug in Fend_of_line.
All of these bugs were silently fixed by my pos_t conversion.
At the very least, FETCH_CHAR should be renamed so it's clear that the
right way to use it is FETCH_CHAR (bytepos), not FETCH_CHAR (charpos).
I suggest FETCH_CHAR_AT_BYTEPOS.
0001-Fix-assertion-errors-caused-by-bytepos-charpos-confu.patch
Description: Text Data
- bug#41520: 28.0.50; Crash in character.h due to assertion error, Stefan Kangas, 2020/05/25
- bug#41520: 28.0.50; Crash in character.h due to assertion error, Pip Cet, 2020/05/25
- bug#41520: 28.0.50; Crash in character.h due to assertion error,
Pip Cet <=
- bug#41520: 28.0.50; Crash in character.h due to assertion error, Eli Zaretskii, 2020/05/25
- bug#41520: 28.0.50; Crash in character.h due to assertion error, Pip Cet, 2020/05/25
- bug#41520: 28.0.50; Crash in character.h due to assertion error, Eli Zaretskii, 2020/05/25
- bug#41520: 28.0.50; Crash in character.h due to assertion error, Pip Cet, 2020/05/25
- bug#41520: 28.0.50; Crash in character.h due to assertion error, Eli Zaretskii, 2020/05/25
- bug#41520: 28.0.50; Crash in character.h due to assertion error, Pip Cet, 2020/05/25
- bug#41520: 28.0.50; Crash in character.h due to assertion error, Eli Zaretskii, 2020/05/25
- bug#41520: 28.0.50; Crash in character.h due to assertion error, Pip Cet, 2020/05/25
- bug#41520: 28.0.50; Crash in character.h due to assertion error, Eli Zaretskii, 2020/05/26