Subject: bug#37786: 26.3; Emacs crashes when calling function to decode string

From: Lars Ingebrigtsen <[email-masked]>
Date: Thu, 17 Oct 2019 06:22:10 +0200

Allen Li <[email-masked]> writes:

> The following expression, when evaluated in emacs -Q, causes emacs to
> crash and dump core:
>
> (mail-decode-encoded-word-string #("=?UTF-8?B?4pyoUERYQ09OIFNBTEXinKggRW5qb3kgU3BlY2lhbCBPZmZlcnMg?= =?UTF-8?B?V2hpbGUgWW91IFdhaXQh?=" 0 64 (ws-butler-chg chg) 64 65 (ws-butler-chg chg) 65 97 (ws-butler-chg chg)))

I'm unable to reproduce this in Emacs 27 or Emacs 26.3.

Could you do this under gdb and post the backtrace?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no