File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,13 @@ Version Changes for Hypermail
4
4
HYPERMAIL VERSION 2.3.1:
5
5
============================
6
6
7
+ Jose Kahan (June 14, 2018)
8
+ - Hypermail would segfault or have an incorrect thread view if it was
9
+ handling an archive with a message (msg1) that was a reply to a message not
10
+ in the archive, if msg1 had a reply to it in the archive (msg2), msg2 was
11
+ archived before msg1 and both msg1 and msg2 shared the same subject
12
+ (regardless of Re: prefixes).
13
+
7
14
Bill Shannon (June 7, 2018)
8
15
- Add charset alias for Thai and Chinese
9
16
- The markup for access key "j" to jump to the start of a message
Original file line number Diff line number Diff line change @@ -354,10 +354,21 @@ void crossindex(void)
354
354
& maybereply );
355
355
if (status != -1 ) {
356
356
struct emailinfo * email2 ;
357
+
357
358
if (!hashnumlookup (status , & email2 )) {
358
359
++ num ;
359
360
continue ;
360
361
}
362
+ /* make sure there is no recursion between the message
363
+ and reply lookup if a message and its reply-to were
364
+ archived in reverse, both messages share the same
365
+ subject (regardless of Re), and the message itself was
366
+ a reply to a non-archived message. */
367
+ if (maybereply && !strcmp (email2 -> inreplyto , email -> msgid )) {
368
+ ++ num ;
369
+ continue ;
370
+ }
371
+
361
372
if (set_linkquotes ) {
362
373
struct reply * rp ;
363
374
int found_num = 0 ;
You can’t perform that action at this time.
0 commit comments