Subject: bug#41184: 28.0.50; Crash on NS when opening text file in a possibly invalid zip archive

From: Filipp Gunbin <[email-masked]>
Date: Mon, 11 May 2020 04:52:28 +0300

- emacs -Q
- C-x C-f <path to attached zip> RET
- RET on the first file in archive (the one with .txt extension)

TTY emacs doesn't crash with the same recipe.

Thanks.

In GNU Emacs 28.0.50 (build 14, x86_64-apple-darwin19.2.0, NS appkit-1894.20 Version 10.15.2 (Build 19C57))
 of 2020-05-09 built on fgunbin.local
Repository revision: ae3c510696f02f01d03052f070e5ce65b4018a45
Repository branch: master
Windowing system distributor 'Apple', version 10.3.1894
System Description:  Mac OS X 10.15.2