Eli Zaretskii <eliz@HIDDEN>
to control <at> debbugs.gnu.org.
Full text available.Received: (at 81325) by debbugs.gnu.org; 29 Jun 2026 11:04:03 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jun 29 07:04:03 2026 Received: from localhost ([127.0.0.1]:35755 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1we9mT-0007Ry-VS for submit <at> debbugs.gnu.org; Mon, 29 Jun 2026 07:04:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54024) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1we9mR-0007RY-KT; Mon, 29 Jun 2026 07:04:00 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1we9mL-0002Ri-SL; Mon, 29 Jun 2026 07:03:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=LGnoTopNbg0V1vqUBAo/utn27ha6eVDMgjJm/hY5T6k=; b=EA0TwUPVrd17 jcd2ChEL+retNfe+e8BkxBaWSyjQ1iVG6ksQGaSJFB/Pq5XDdw2o+G2Fbw1gHJpf2x0iVKCS5Aagx eaVnKWkqgIMlXQInFIwF7l4jxZTam3vMbqkemwn6biZevckjDKSQ9BoB2lfUxMhlbdCKslRkNRXtR f5THiPV/AbF2sM9cWBgwN+axLhFhqgA/mxKPDPcvpDIC2wRu8FyWFRaSC57Q6ZpgCoX2zrWyNVCp1 8C51xOtJ0p7//1weifF5UFOoXqPRp9I8OC5gxdKSMjHWUZxHVy24AD43v5N1X+dtjTyzLYzEsET7w OyFgz40Ss1OPfAaYWG6Yxg==; Date: Mon, 29 Jun 2026 14:03:50 +0300 Message-Id: <86fr25fw15.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Minseok Lee <senstella01@HIDDEN> In-Reply-To: <CAJaA7GBcH2BfE3=tiocft-uFdhTJ+mdpiZK4qpNCaNrE5T9wEQ@HIDDEN> (message from Minseok Lee on Sun, 28 Jun 2026 12:24:42 +0900) Subject: Re: bug#81325: 32.0.50; Heap corruption while opening zip files with EUC-KR encoded filenames References: <CAJaA7GBcH2BfE3=tiocft-uFdhTJ+mdpiZK4qpNCaNrE5T9wEQ@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 81325 Cc: 81325 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) merge 81325 80930 thanks > From: Minseok Lee <senstella01@HIDDEN> > Date: Sun, 28 Jun 2026 12:24:42 +0900 > > Step to reproduce in emacs -Q: > > 1. Open a zip file with filenames encoded in EUC-KR in dired. > 2. Once it shows as something non UTF-8 like \300\315\300.., RET on > the entry. > 3. It sometimes crashes; if not, repeat it a few times more. > > I have reproduced the same crash on Linux too. After a bit of wrestling > and setting up ASan, the cause seems to be that archive-mode tries to > create the buffer with the title \300\315\300\272\261\344\305 and after > it changes the modeline, the frame title picks it up, so > gui_consider_frame_title gets called. However, since it's not UTF-8, > str_as_multibyte expands the title with appropriate control characters > (making its size 2x) without enough allocation in > mode_line_noprop_buf_end. The attached fix should make > mode_line_noprop_buf_end reallocate to ensure it has sufficient > allocation. > > Please let me know if you need the sample zip file with EUC-KR filenames > to reproduce. I think this is unrelated to zip files. I think this is a duplicate of bug#80930, so I'm merging them. My analysis of what happens can be found in https://debbugs.gnu.org/cgi/bugreport.cgi?bug=80930#14 . I hope Basil will work on this soon. Thank you for your report and the suggested patch. > Note that I couldn't get to build Emacs with ASan on Linux, so > I'd be sending macOS ASan logs here. > > ================================================================= > ==13743==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60e00020cc76 at pc > 0x000100b27978 bp 0x00016f4d44b0 sp 0x00016f4d44a8 > WRITE of size 1 at 0x60e00020cc76 thread T0 > #0 0x100b27974 in char_string character.c:136 > #1 0x100b29e70 in str_as_multibyte character.c:638 > #2 0x1009b5998 in gui_consider_frame_title xdisp.c:14172 > #3 0x1009ae1f8 in redisplay_internal xdisp.c:17480 > #4 0x100bb3a94 in read_char keyboard.c:2711 > #5 0x100b92558 in read_key_sequence keyboard.c:11224 > #6 0x100b8d5d8 in command_loop_1 keyboard.c:1424 > #7 0x100cdb088 in internal_condition_case eval.c:1712 > #8 0x100b8ccc8 in command_loop_2 keyboard.c:1163 > #9 0x100cd9760 in internal_catch eval.c:1392 > #10 0x100b8baec in command_loop keyboard.c:1141 > #11 0x100b8b814 in recursive_edit_1 keyboard.c:749 > #12 0x100b8be68 in Frecursive_edit keyboard.c:832 > #13 0x100b89888 in main emacs.c:2632 > #14 0x19e60ab94 in start+0x17b8 (dyld:arm64e+0xfffffffffff3ab94) > > 0x60e00020cc76 is located 0 bytes after 150-byte region [0x60e00020cbe0,0x60e00020cc76) > allocated by thread T0 here: > #0 0x102bf8e88 in realloc+0x9c (libclang_rt.asan_osx_dynamic.dylib:arm64e+0x54e88) > #1 0x100c76910 in xpalloc alloc.c:822 > #2 0x100a635f4 in store_mode_line_noprop xdisp.c:14073 > #3 0x1009b9674 in display_mode_element xdisp.c:28679 > #4 0x1009b5944 in gui_consider_frame_title xdisp.c:14166 > #5 0x1009ae1f8 in redisplay_internal xdisp.c:17480 > #6 0x100bb3a94 in read_char keyboard.c:2711 > #7 0x100b92558 in read_key_sequence keyboard.c:11224 > #8 0x100b8d5d8 in command_loop_1 keyboard.c:1424 > #9 0x100cdb088 in internal_condition_case eval.c:1712 > #10 0x100b8ccc8 in command_loop_2 keyboard.c:1163 > #11 0x100cd9760 in internal_catch eval.c:1392 > #12 0x100b8baec in command_loop keyboard.c:1141 > #13 0x100b8b814 in recursive_edit_1 keyboard.c:749 > #14 0x100b8be68 in Frecursive_edit keyboard.c:832 > #15 0x100b89888 in main emacs.c:2632 > #16 0x19e60ab94 in start+0x17b8 (dyld:arm64e+0xfffffffffff3ab94) > > SUMMARY: AddressSanitizer: heap-buffer-overflow character.c:136 in char_string > Shadow bytes around the buggy address: > 0x60e00020c980: fd fd fd fd fd fd fd fd fd fd fd fa fa fa fa fa > 0x60e00020ca00: fa fa fa fa fd fd fd fd fd fd fd fd fd fd fd fd > 0x60e00020ca80: fd fd fd fd fd fd fd fa fa fa fa fa fa fa fa fa > 0x60e00020cb00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 0x60e00020cb80: 00 00 00 00 fa fa fa fa fa fa fa fa 00 00 00 00 > =>0x60e00020cc00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00[06]fa > 0x60e00020cc80: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa > 0x60e00020cd00: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa > 0x60e00020cd80: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa > 0x60e00020ce00: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa > 0x60e00020ce80: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa > Shadow byte legend (one shadow byte represents 8 application bytes): > Addressable: 00 > Partially addressable: 01 02 03 04 05 06 07 > Heap left redzone: fa > Freed heap region: fd > Stack left redzone: f1 > Stack mid redzone: f2 > Stack right redzone: f3 > Stack after return: f5 > Stack use after scope: f8 > Global redzone: f9 > Global init order: f6 > Poisoned by user: f7 > Container overflow: fc > Array cookie: ac > Intra object redzone: bb > ASan internal: fe > Left alloca redzone: ca > Right alloca redzone: cb > > In GNU Emacs 32.0.50 (build 1, aarch64-apple-darwin24.6.0, NS > appkit-2575.70 Version 15.7.2 (Build 24G325)) of 2026-06-28 built on > MacBookAir.local > Repository revision: b24ed25b39f346370e1b90eebe86fcacdd4e48e3 > Repository branch: master > Windowing system distributor 'Apple', version 10.3.2575 > System Description: macOS 15.7.2
bug-gnu-emacs@HIDDEN:bug#81325; Package emacs.
Full text available.
Received: (at submit) by debbugs.gnu.org; 28 Jun 2026 15:36:14 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 28 11:36:13 2026
Received: from localhost ([127.0.0.1]:59460 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1wdrYB-0001bA-Dq
for submit <at> debbugs.gnu.org; Sun, 28 Jun 2026 11:36:11 -0400
Received: from lists1p.gnu.org ([2001:470:142::17]:34718)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <senstella01@HIDDEN>)
id 1wdg8m-000341-QT
for submit <at> debbugs.gnu.org; Sat, 27 Jun 2026 23:25:17 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <senstella01@HIDDEN>)
id 1wdg8g-0003A0-PX
for bug-gnu-emacs@HIDDEN; Sat, 27 Jun 2026 23:24:58 -0400
Received: from mail-yw1-x112e.google.com ([2607:f8b0:4864:20::112e])
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.90_1) (envelope-from <senstella01@HIDDEN>)
id 1wdg8e-0002jc-7u
for bug-gnu-emacs@HIDDEN; Sat, 27 Jun 2026 23:24:58 -0400
Received: by mail-yw1-x112e.google.com with SMTP id
00721157ae682-8000e21f014so25516967b3.2
for <bug-gnu-emacs@HIDDEN>; Sat, 27 Jun 2026 20:24:55 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1782617094; cv=none;
d=google.com; s=arc-20260327;
b=dcBr8d7tQOww73QD05DHUlfeqoEhjh7N75iBTSyIj/2e7BcYYXm6vMQSYWjjFmkUWn
zYBpZxH2PHoztAY/mXaoaD/D4X5vzsD7IrbIs+lEWtm9Ya99aXSbAditPIZ7NvWiPXiQ
73D0ZCmllOi49pbwayGrhpemneNbxLiYAlD2Vl3Y3kjosI07GG8PtRBdXzQVhup5Mn2p
W8xtqesDJ+D2iupWLOUHqrSJgUrTOzAqaDPzXqoo6GtVBac9rvZg0st2ov9oriFaLq0z
aIIPjCHdNtdyEhoPuVxUWuMTmhVK+i0V1XwbddhocjE+DjnfH8j9+D2N+rJOc9yAWFoN
lArw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
s=arc-20260327;
h=to:subject:message-id:date:from:mime-version:dkim-signature;
bh=R4QdzseXCtWyJiL6bBHfl9EgLxjPwcmzBzrptt6GE2Q=;
fh=+R8aXOFVnuBbN1nRXJJI02Ia//JUQJmLW/Uk/VaA0ag=;
b=HEHBPhkVV4I8hvUJECqQ3qsqgFS9BLOsAVyIgQDeSSKUx8seTf5DS/STdOm2dkADgf
uz/FJs/SRD5Arj8nmU50LDz+U2+aTeBJFsjnKT+pE8p209/wHGiSnjb0SrQTtv9oP1JS
rbwKNTgd/TYCSjZho5qRlXrrr+NgqpSNOHuOIYYlLXjZaWxlmbY9mJhNO7B7c5uupxGj
g7HGHrPsMkUixfHCD1j69djpl/QbJedJtQIpJxtnw4tTMoAvRSWyf2qRpsThhPKZwrxY
UBOAFCPwnlcXIYWVfRzb9ERkRl99kQHsBUUgw7ORyvheA+QYIDRmxfrrEe9jPU7fF5Ye
t1fw==; darn=gnu.org
ARC-Authentication-Results: i=1; mx.google.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20251104; t=1782617094; x=1783221894; darn=gnu.org;
h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
:date:message-id:reply-to;
bh=R4QdzseXCtWyJiL6bBHfl9EgLxjPwcmzBzrptt6GE2Q=;
b=G/dlHelWCwQEF3IhZs+v9acc9ZWzvs2fgtXsOH6jDohInDx6AZwRKJf8MfTVjwCNrI
kqh7AO7MAKq5zq6pS1QTJCnbx1G5BbYcIu/+OvY6TmRIuEJ5jLXh/sQEtmNrmqZbLsDl
0o8giPn9Qb0rWGV7Ew3+O+ADLuhw9IJC7dRibrk/PchaaUomgihRDjzmpyyhTILydjB6
WEDs8Q9KEQVCvMiXaVPujdM1bFv2Qjw4FB5l1odUTsL5FTlGhW0rUyxt+aDsRSDDV+h4
9GDhZQzsanPI1KQc9l0CCwGG0zPpThOZn9sepgOPjlu/AMGB/I3tDBpRH8UQlRYd6YRv
D0eg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20251104; t=1782617094; x=1783221894;
h=to:subject:message-id:date:from:mime-version:x-gm-gg
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=R4QdzseXCtWyJiL6bBHfl9EgLxjPwcmzBzrptt6GE2Q=;
b=LMzThj3PC8vReUMv2Dnl3tljUKQ2J9Kw/s3RlOMVdzYR1rgajRsfuqDmd3+6/6sbTk
B3xD5vVSwWiRZrB3SvigINlud1DhSpyxTTXG15aOH5/E+mHjNr1Uo1uThY0Whj0Cn/+b
vaQZfCwljjBjGyX52o5NCQka95FTlXroHYKOoTjHfQhrvlFwJIcQ/5tudq/DESimcVSD
QdKcZDZEgwhkS5htR1TT51lkvuoywMcmcTDQhM0KDnKrNbO7EKfVjCrHm7FYXoBtwmGY
Aiz0XLH3C3TWfpX2kiVzDtPgxnQglhSQKSMGZP7ww6g4XjHs2JHDnLyAjpvVRts/nEsO
5mSQ==
X-Gm-Message-State: AOJu0YyQztGc7yFFb3kPB/n07srpGD/BVWHhi1avA7KT7NeWZ/gbU255
2UIB9VwlNeEaC5EcmjjPAatSsbcgF5LPN1g8wndCI7tzHm0aBYCRI80BLq9zJ9sHCj9VRi2FfZR
6+/3xa9msW8XBj8cwiCKzSN3AwNXD+dAFdA==
X-Gm-Gg: AfdE7claEhsIlAp4sXiaEj5THZ7pXQqhokqehdvVa1LiDYmmgI8yg7xo5jUERI5btNS
3PFRlh5rjrKlv/GDw/gwsP2ilgeGuxcemO5ABP7v8ziL8yGYyFM1caWZZQ6q/Io9AdyrDTRkrlk
0nFedN/Qphuo1KVTmXOCaCU1tfdSLOBV19rc/SBNh5ftcxAyLutgvfJLiZlIEghyOnBJC3OZmhO
aeHKx6PefX0C42Ut2cce+TAfu4TRdvl6bwpQP5XQfbK1kbiNgzPHrRWjlFfFEY0XwlQHkOR4lNM
LN3LTJMmKd9nFQ==
X-Received: by 2002:a05:690e:4083:b0:664:c436:e51b with SMTP id
956f58d0204a3-664c436e79emr2372409d50.53.1782617094376; Sat, 27 Jun 2026
20:24:54 -0700 (PDT)
MIME-Version: 1.0
From: Minseok Lee <senstella01@HIDDEN>
Date: Sun, 28 Jun 2026 12:24:42 +0900
X-Gm-Features: AVVi8CfIU_PXLqo8SW448PGqAAClOv3XbC7z-taBGJGt9aUI9Qo8ZfEIKttvfxg
Message-ID: <CAJaA7GBcH2BfE3=tiocft-uFdhTJ+mdpiZK4qpNCaNrE5T9wEQ@HIDDEN>
Subject: 32.0.50;
Heap corruption while opening zip files with EUC-KR encoded filenames
To: bug-gnu-emacs@HIDDEN
Content-Type: multipart/mixed; boundary="000000000000aed508065547e2a1"
Received-SPF: pass client-ip=2607:f8b0:4864:20::112e;
envelope-from=senstella01@HIDDEN; helo=mail-yw1-x112e.google.com
X-Spam_score_int: -17
X-Spam_score: -1.8
X-Spam_bar: -
X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001,
RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 2.2 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
has NOT identified this incoming email as spam. The original
message has been attached to this so you can view it or label
similar future email. If you have any questions, see
the administrator of that system for details.
Content preview: Hello, Step to reproduce in emacs -Q: 1. Open a zip file with
filenames encoded in EUC-KR in dired. 2. Once it shows as something non UTF-8
like \300\315\300.., RET on the entry. 3. It sometimes crashes; if not, repeat
it a few times more [...]
Content analysis details: (2.2 points, 10.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
-0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/,
no trust [2001:470:142:0:0:0:0:17 listed in] [list.dnswl.org]
1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail)
0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail
provider (senstella01[at]gmail.com)
-0.0 SPF_HELO_PASS SPF: HELO matches SPF record
1.0 FORGED_GMAIL_RCVD 'From' gmail.com does not match 'Received'
headers
0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends
in digit (senstella01[at]gmail.com)
0.0 HTML_MESSAGE BODY: HTML included in message
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Sun, 28 Jun 2026 11:35:28 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.2 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
has NOT identified this incoming email as spam. The original
message has been attached to this so you can view it or label
similar future email. If you have any questions, see
the administrator of that system for details.
Content preview: Hello, Step to reproduce in emacs -Q: 1. Open a zip file with
filenames encoded in EUC-KR in dired. 2. Once it shows as something non UTF-8
like \300\315\300.., RET on the entry. 3. It sometimes crashes; if not, repeat
it a few times more [...]
Content analysis details: (1.2 points, 10.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
-0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/,
no trust
[2001:470:142:0:0:0:0:17 listed in]
[list.dnswl.org]
1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail)
0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail
provider (senstella01[at]gmail.com)
-0.0 SPF_HELO_PASS SPF: HELO matches SPF record
1.0 FORGED_GMAIL_RCVD 'From' gmail.com does not match 'Received'
headers
0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends
in digit (senstella01[at]gmail.com)
0.0 HTML_MESSAGE BODY: HTML included in message
-1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list
manager
--000000000000aed508065547e2a1
Content-Type: multipart/alternative; boundary="000000000000aed508065547e29f"
--000000000000aed508065547e29f
Content-Type: text/plain; charset="UTF-8"
Hello,
Step to reproduce in emacs -Q:
1. Open a zip file with filenames encoded in EUC-KR in dired.
2. Once it shows as something non UTF-8 like \300\315\300.., RET on
the entry.
3. It sometimes crashes; if not, repeat it a few times more.
I have reproduced the same crash on Linux too. After a bit of wrestling
and setting up ASan, the cause seems to be that archive-mode tries to
create the buffer with the title \300\315\300\272\261\344\305 and after
it changes the modeline, the frame title picks it up, so
gui_consider_frame_title gets called. However, since it's not UTF-8,
str_as_multibyte expands the title with appropriate control characters
(making its size 2x) without enough allocation in
mode_line_noprop_buf_end. The attached fix should make
mode_line_noprop_buf_end reallocate to ensure it has sufficient
allocation.
Please let me know if you need the sample zip file with EUC-KR filenames
to reproduce.
Note that I couldn't get to build Emacs with ASan on Linux, so
I'd be sending macOS ASan logs here.
=================================================================
==13743==ERROR: AddressSanitizer: heap-buffer-overflow on address
0x60e00020cc76 at pc 0x000100b27978 bp 0x00016f4d44b0 sp 0x00016f4d44a8
WRITE of size 1 at 0x60e00020cc76 thread T0
#0 0x100b27974 in char_string character.c:136
#1 0x100b29e70 in str_as_multibyte character.c:638
#2 0x1009b5998 in gui_consider_frame_title xdisp.c:14172
#3 0x1009ae1f8 in redisplay_internal xdisp.c:17480
#4 0x100bb3a94 in read_char keyboard.c:2711
#5 0x100b92558 in read_key_sequence keyboard.c:11224
#6 0x100b8d5d8 in command_loop_1 keyboard.c:1424
#7 0x100cdb088 in internal_condition_case eval.c:1712
#8 0x100b8ccc8 in command_loop_2 keyboard.c:1163
#9 0x100cd9760 in internal_catch eval.c:1392
#10 0x100b8baec in command_loop keyboard.c:1141
#11 0x100b8b814 in recursive_edit_1 keyboard.c:749
#12 0x100b8be68 in Frecursive_edit keyboard.c:832
#13 0x100b89888 in main emacs.c:2632
#14 0x19e60ab94 in start+0x17b8 (dyld:arm64e+0xfffffffffff3ab94)
0x60e00020cc76 is located 0 bytes after 150-byte region
[0x60e00020cbe0,0x60e00020cc76)
allocated by thread T0 here:
#0 0x102bf8e88 in realloc+0x9c
(libclang_rt.asan_osx_dynamic.dylib:arm64e+0x54e88)
#1 0x100c76910 in xpalloc alloc.c:822
#2 0x100a635f4 in store_mode_line_noprop xdisp.c:14073
#3 0x1009b9674 in display_mode_element xdisp.c:28679
#4 0x1009b5944 in gui_consider_frame_title xdisp.c:14166
#5 0x1009ae1f8 in redisplay_internal xdisp.c:17480
#6 0x100bb3a94 in read_char keyboard.c:2711
#7 0x100b92558 in read_key_sequence keyboard.c:11224
#8 0x100b8d5d8 in command_loop_1 keyboard.c:1424
#9 0x100cdb088 in internal_condition_case eval.c:1712
#10 0x100b8ccc8 in command_loop_2 keyboard.c:1163
#11 0x100cd9760 in internal_catch eval.c:1392
#12 0x100b8baec in command_loop keyboard.c:1141
#13 0x100b8b814 in recursive_edit_1 keyboard.c:749
#14 0x100b8be68 in Frecursive_edit keyboard.c:832
#15 0x100b89888 in main emacs.c:2632
#16 0x19e60ab94 in start+0x17b8 (dyld:arm64e+0xfffffffffff3ab94)
SUMMARY: AddressSanitizer: heap-buffer-overflow character.c:136 in
char_string
Shadow bytes around the buggy address:
0x60e00020c980: fd fd fd fd fd fd fd fd fd fd fd fa fa fa fa fa
0x60e00020ca00: fa fa fa fa fd fd fd fd fd fd fd fd fd fd fd fd
0x60e00020ca80: fd fd fd fd fd fd fd fa fa fa fa fa fa fa fa fa
0x60e00020cb00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x60e00020cb80: 00 00 00 00 fa fa fa fa fa fa fa fa 00 00 00 00
=>0x60e00020cc00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00[06]fa
0x60e00020cc80: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x60e00020cd00: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x60e00020cd80: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x60e00020ce00: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x60e00020ce80: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
Shadow byte legend (one shadow byte represents 8 application bytes):
Addressable: 00
Partially addressable: 01 02 03 04 05 06 07
Heap left redzone: fa
Freed heap region: fd
Stack left redzone: f1
Stack mid redzone: f2
Stack right redzone: f3
Stack after return: f5
Stack use after scope: f8
Global redzone: f9
Global init order: f6
Poisoned by user: f7
Container overflow: fc
Array cookie: ac
Intra object redzone: bb
ASan internal: fe
Left alloca redzone: ca
Right alloca redzone: cb
In GNU Emacs 32.0.50 (build 1, aarch64-apple-darwin24.6.0, NS
appkit-2575.70 Version 15.7.2 (Build 24G325)) of 2026-06-28 built on
MacBookAir.local
Repository revision: b24ed25b39f346370e1b90eebe86fcacdd4e48e3
Repository branch: master
Windowing system distributor 'Apple', version 10.3.2575
System Description: macOS 15.7.2
Configured using:
'configure CC=clang 'CFLAGS=-O1 -g3 -fsanitize=address
-fno-omit-frame-pointer -fno-common' LDFLAGS=-fsanitize=address
--with-ns --without-native-compilation --without-dbus'
Configured features:
ACL GLIB GNUTLS LCMS2 LIBXML2 MODULES NOTIFY KQUEUE NS PDUMPER PNG RSVG
SQLITE3 THREADS TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM ZLIB
Important settings:
value of $LANG: en_US.UTF-8
locale-coding-system: utf-8-unix
Major mode: Zip-Archive
Minor modes in effect:
tooltip-mode: t
global-eldoc-mode: t
eldoc-mode: t
show-paren-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
minibuffer-nonselected-mode: t
minibuffer-regexp-mode: t
buffer-read-only: t
line-number-mode: t
indent-tabs-mode: t
transient-mark-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
Load-path shadows:
None found.
Features:
(shadow sort mail-extr arc-mode archive-mode dired-aux emacsbug lisp-mnt
message mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec
password-cache epa derived epg rfc6068 epg-config gnus-util
text-property-search time-date subr-x mm-decode mm-bodies mm-encode
mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail mail-parse
rfc2231 rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils rmc
iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook
vc-hooks lisp-float-type elisp-mode mwheel term/ns-win ns-win
ucs-normalize mule-util term/common-win tool-bar dnd fontset image
regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu
timer select scroll-bar mouse jit-lock font-lock syntax font-core
term/tty-colors frame minibuffer nadvice seq simple cl-generic
indonesian philippine cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
composite emoji-zwj charscript charprop case-table epa-hook
jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs
theme-loaddefs faces cus-face macroexp files window text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget keymap
hashtable-print-readable backquote threads kqueue cocoa ns lcms2
multi-tty make-network-process tty-child-frames emacs)
Memory information:
((conses 16 43115 18639) (symbols 48 5750 0) (strings 32 14086 2840)
(string-bytes 1 347315) (vectors 16 12027)
(vector-slots 8 132074 5902) (floats 8 21 4) (intervals 56 290 0)
(buffers 1064 12))
Best regards,
Minseok Lee
--000000000000aed508065547e29f
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><div dir=3D"ltr">Hello,<br><br>Step to reproduce in emacs =
-Q:<br><br>1. Open a zip file with filenames encoded in EUC-KR in dired.<br=
>2. Once it shows as something non UTF-8 like \300\315\300.., RET on<br>the=
entry.<br>3. It sometimes crashes; if not, repeat it a few times more.<br>=
<br>I have reproduced the same crash on Linux too. After a bit of wrestling=
<br>and setting up ASan, the cause seems to be that archive-mode tries to<b=
r>create the buffer with the title \300\315\300\272\261\344\305 and after<b=
r>it changes the modeline, the frame title picks it up, so<br>gui_consider_=
frame_title gets called. However, since it's not UTF-8,<br>str_as_multi=
byte expands the title with appropriate control characters<br>(making its s=
ize 2x) without enough allocation in<br>mode_line_noprop_buf_end. The attac=
hed fix should make<br>mode_line_noprop_buf_end reallocate to ensure it has=
sufficient<br>allocation.<br><br>Please let me know if you need the sample=
zip file with EUC-KR filenames<div>to reproduce.<br><br>Note that I couldn=
't get to build Emacs with ASan on Linux, so<br>I'd be sending macO=
S ASan logs here.<br><br>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br=
>=3D=3D13743=3D=3DERROR: AddressSanitizer: heap-buffer-overflow on address =
0x60e00020cc76 at pc 0x000100b27978 bp 0x00016f4d44b0 sp 0x00016f4d44a8<br>=
WRITE of size 1 at 0x60e00020cc76 thread T0<br>=C2=A0 =C2=A0 #0 0x100b27974=
in char_string character.c:136<br>=C2=A0 =C2=A0 #1 0x100b29e70 in str_as_m=
ultibyte character.c:638<br>=C2=A0 =C2=A0 #2 0x1009b5998 in gui_consider_fr=
ame_title xdisp.c:14172<br>=C2=A0 =C2=A0 #3 0x1009ae1f8 in redisplay_intern=
al xdisp.c:17480<br>=C2=A0 =C2=A0 #4 0x100bb3a94 in read_char keyboard.c:27=
11<br>=C2=A0 =C2=A0 #5 0x100b92558 in read_key_sequence keyboard.c:11224<br=
>=C2=A0 =C2=A0 #6 0x100b8d5d8 in command_loop_1 keyboard.c:1424<br>=C2=A0 =
=C2=A0 #7 0x100cdb088 in internal_condition_case eval.c:1712<br>=C2=A0 =C2=
=A0 #8 0x100b8ccc8 in command_loop_2 keyboard.c:1163<br>=C2=A0 =C2=A0 #9 0x=
100cd9760 in internal_catch eval.c:1392<br>=C2=A0 =C2=A0 #10 0x100b8baec in=
command_loop keyboard.c:1141<br>=C2=A0 =C2=A0 #11 0x100b8b814 in recursive=
_edit_1 keyboard.c:749<br>=C2=A0 =C2=A0 #12 0x100b8be68 in Frecursive_edit =
keyboard.c:832<br>=C2=A0 =C2=A0 #13 0x100b89888 in main emacs.c:2632<br>=C2=
=A0 =C2=A0 #14 0x19e60ab94 in start+0x17b8 (dyld:arm64e+0xfffffffffff3ab94)=
<br><br>0x60e00020cc76 is located 0 bytes after 150-byte region [0x60e00020=
cbe0,0x60e00020cc76)<br>allocated by thread T0 here:<br>=C2=A0 =C2=A0 #0 0x=
102bf8e88 in realloc+0x9c (libclang_rt.asan_osx_dynamic.dylib:arm64e+0x54e8=
8)<br>=C2=A0 =C2=A0 #1 0x100c76910 in xpalloc alloc.c:822<br>=C2=A0 =C2=A0 =
#2 0x100a635f4 in store_mode_line_noprop xdisp.c:14073<br>=C2=A0 =C2=A0 #3 =
0x1009b9674 in display_mode_element xdisp.c:28679<br>=C2=A0 =C2=A0 #4 0x100=
9b5944 in gui_consider_frame_title xdisp.c:14166<br>=C2=A0 =C2=A0 #5 0x1009=
ae1f8 in redisplay_internal xdisp.c:17480<br>=C2=A0 =C2=A0 #6 0x100bb3a94 i=
n read_char keyboard.c:2711<br>=C2=A0 =C2=A0 #7 0x100b92558 in read_key_seq=
uence keyboard.c:11224<br>=C2=A0 =C2=A0 #8 0x100b8d5d8 in command_loop_1 ke=
yboard.c:1424<br>=C2=A0 =C2=A0 #9 0x100cdb088 in internal_condition_case ev=
al.c:1712<br>=C2=A0 =C2=A0 #10 0x100b8ccc8 in command_loop_2 keyboard.c:116=
3<br>=C2=A0 =C2=A0 #11 0x100cd9760 in internal_catch eval.c:1392<br>=C2=A0 =
=C2=A0 #12 0x100b8baec in command_loop keyboard.c:1141<br>=C2=A0 =C2=A0 #13=
0x100b8b814 in recursive_edit_1 keyboard.c:749<br>=C2=A0 =C2=A0 #14 0x100b=
8be68 in Frecursive_edit keyboard.c:832<br>=C2=A0 =C2=A0 #15 0x100b89888 in=
main emacs.c:2632<br>=C2=A0 =C2=A0 #16 0x19e60ab94 in start+0x17b8 (dyld:a=
rm64e+0xfffffffffff3ab94)<br><br>SUMMARY: AddressSanitizer: heap-buffer-ove=
rflow character.c:136 in char_string<br>Shadow bytes around the buggy addre=
ss:<br>=C2=A0 0x60e00020c980: fd fd fd fd fd fd fd fd fd fd fd fa fa fa fa =
fa<br>=C2=A0 0x60e00020ca00: fa fa fa fa fd fd fd fd fd fd fd fd fd fd fd f=
d<br>=C2=A0 0x60e00020ca80: fd fd fd fd fd fd fd fa fa fa fa fa fa fa fa fa=
<br>=C2=A0 0x60e00020cb00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<=
br>=C2=A0 0x60e00020cb80: 00 00 00 00 fa fa fa fa fa fa fa fa 00 00 00 00<b=
r>=3D>0x60e00020cc00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00[06]fa<br=
>=C2=A0 0x60e00020cc80: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa<br>=
=C2=A0 0x60e00020cd00: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa<br>=
=C2=A0 0x60e00020cd80: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa<br>=
=C2=A0 0x60e00020ce00: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa<br>=
=C2=A0 0x60e00020ce80: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa<br>S=
hadow byte legend (one shadow byte represents 8 application bytes):<br>=C2=
=A0 Addressable: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 00<br>=C2=A0 Partially =
addressable: 01 02 03 04 05 06 07<br>=C2=A0 Heap left redzone: =C2=A0 =C2=
=A0 =C2=A0 fa<br>=C2=A0 Freed heap region: =C2=A0 =C2=A0 =C2=A0 fd<br>=C2=
=A0 Stack left redzone: =C2=A0 =C2=A0 =C2=A0f1<br>=C2=A0 Stack mid redzone:=
=C2=A0 =C2=A0 =C2=A0 f2<br>=C2=A0 Stack right redzone: =C2=A0 =C2=A0 f3<br=
>=C2=A0 Stack after return: =C2=A0 =C2=A0 =C2=A0f5<br>=C2=A0 Stack use afte=
r scope: =C2=A0 f8<br>=C2=A0 Global redzone: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0f9<br>=C2=A0 Global init order: =C2=A0 =C2=A0 =C2=A0 f6<br>=C2=A0 Poi=
soned by user: =C2=A0 =C2=A0 =C2=A0 =C2=A0f7<br>=C2=A0 Container overflow: =
=C2=A0 =C2=A0 =C2=A0fc<br>=C2=A0 Array cookie: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0ac<br>=C2=A0 Intra object redzone: =C2=A0 =C2=A0bb<br>=C2=A0 A=
San internal: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 fe<br>=C2=A0 Left alloca r=
edzone: =C2=A0 =C2=A0 ca<br>=C2=A0 Right alloca redzone: =C2=A0 =C2=A0cb<br=
><br>In GNU Emacs 32.0.50 (build 1, aarch64-apple-darwin24.6.0, NS<br>=C2=
=A0appkit-2575.70 Version 15.7.2 (Build 24G325)) of 2026-06-28 built on<br>=
=C2=A0MacBookAir.local<br>Repository revision: b24ed25b39f346370e1b90eebe86=
fcacdd4e48e3<br>Repository branch: master<br>Windowing system distributor &=
#39;Apple', version 10.3.2575<br>System Description: =C2=A0macOS 15.7.2=
<br><br>Configured using:<br>=C2=A0'configure CC=3Dclang 'CFLAGS=3D=
-O1 -g3 -fsanitize=3Daddress<br>=C2=A0-fno-omit-frame-pointer -fno-common&#=
39; LDFLAGS=3D-fsanitize=3Daddress<br>=C2=A0--with-ns --without-native-comp=
ilation --without-dbus'<br><br>Configured features:<br>ACL GLIB GNUTLS =
LCMS2 LIBXML2 MODULES NOTIFY KQUEUE NS PDUMPER PNG RSVG<br>SQLITE3 THREADS =
TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM ZLIB<br><br>Important settings:<br=
>=C2=A0 value of $LANG: en_US.UTF-8<br>=C2=A0 locale-coding-system: utf-8-u=
nix<br><br>Major mode: Zip-Archive<br><br>Minor modes in effect:<br>=C2=A0 =
tooltip-mode: t<br>=C2=A0 global-eldoc-mode: t<br>=C2=A0 eldoc-mode: t<br>=
=C2=A0 show-paren-mode: t<br>=C2=A0 electric-indent-mode: t<br>=C2=A0 mouse=
-wheel-mode: t<br>=C2=A0 tool-bar-mode: t<br>=C2=A0 menu-bar-mode: t<br>=C2=
=A0 file-name-shadow-mode: t<br>=C2=A0 global-font-lock-mode: t<br>=C2=A0 f=
ont-lock-mode: t<br>=C2=A0 blink-cursor-mode: t<br>=C2=A0 minibuffer-nonsel=
ected-mode: t<br>=C2=A0 minibuffer-regexp-mode: t<br>=C2=A0 buffer-read-onl=
y: t<br>=C2=A0 line-number-mode: t<br>=C2=A0 indent-tabs-mode: t<br>=C2=A0 =
transient-mark-mode: t<br>=C2=A0 auto-composition-mode: t<br>=C2=A0 auto-en=
cryption-mode: t<br>=C2=A0 auto-compression-mode: t<br><br>Load-path shadow=
s:<br>None found.<br><br>Features:<br>(shadow sort mail-extr arc-mode archi=
ve-mode dired-aux emacsbug lisp-mnt<br>message mailcap yank-media puny dire=
d dired-loaddefs rfc822 mml mml-sec<br>password-cache epa derived epg rfc60=
68 epg-config gnus-util<br>text-property-search time-date subr-x mm-decode =
mm-bodies mm-encode<br>mailabbrev gmm-utils mailheader cl-loaddefs cl-lib s=
endmail mail-parse<br>rfc2231 rfc2047 rfc2045 ietf-drums mm-util mail-prsvr=
mail-utils rmc<br>iso-transl tooltip cconv eldoc paren electric uniquify e=
diff-hook<br>vc-hooks lisp-float-type elisp-mode mwheel term/ns-win ns-win<=
br>ucs-normalize mule-util term/common-win tool-bar dnd fontset image<br>re=
gexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode<br>pr=
og-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu<br>time=
r select scroll-bar mouse jit-lock font-lock syntax font-core<br>term/tty-c=
olors frame minibuffer nadvice seq simple cl-generic<br>indonesian philippi=
ne cham georgian utf-8-lang misc-lang vietnamese<br>tibetan thai tai-viet l=
ao korean japanese eucjp-ms cp51932 hebrew greek<br>romanian slovak czech e=
uropean ethiopic indian cyrillic chinese<br>composite emoji-zwj charscript =
charprop case-table epa-hook<br>jka-cmpr-hook help abbrev obarray oclosure =
cl-preloaded button loaddefs<br>theme-loaddefs faces cus-face macroexp file=
s window text-properties<br>overlay sha1 md5 base64 format env code-pages m=
ule custom widget keymap<br>hashtable-print-readable backquote threads kque=
ue cocoa ns lcms2<br>multi-tty make-network-process tty-child-frames emacs)=
<br><br>Memory information:<br>((conses 16 43115 18639) (symbols 48 5750 0)=
(strings 32 14086 2840)<br>=C2=A0(string-bytes 1 347315) (vectors 16 12027=
)<br>=C2=A0(vector-slots 8 132074 5902) (floats 8 21 4) (intervals 56 290 0=
)<br>=C2=A0(buffers 1064 12))<br><br>Best regards,<br>Minseok Lee</div></di=
v>
</div>
--000000000000aed508065547e29f--
--000000000000aed508065547e2a1
Content-Type: application/x-patch;
name="0001-Fix-frame-title-crash-with-non-UTF-8-bytes-in-mode-l.patch"
Content-Disposition: attachment;
filename="0001-Fix-frame-title-crash-with-non-UTF-8-bytes-in-mode-l.patch"
Content-Transfer-Encoding: base64
Content-ID: <f_mqx7w4ql0>
X-Attachment-Id: f_mqx7w4ql0
RnJvbSBkMzhkNjcyMzU1OTFmMWZmOTMwYzYxMmZmZTFmNGYyNmVlYTg0MDMxIE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiBNaW5zZW9rIExlZSA8c2Vuc3RlbGxhMDFAZ21haWwuY29tPgpE
YXRlOiBTdW4sIDI4IEp1biAyMDI2IDExOjU3OjAxICswOTAwClN1YmplY3Q6IFtQQVRDSF0gRml4
IGZyYW1lIHRpdGxlIGNyYXNoIHdpdGggbm9uIFVURi04IGJ5dGVzIGluIG1vZGUgbGluZQoKKiBz
cmMveGRpc3AuYyAoZ3VpX2NvbnNpZGVyX2ZyYW1lX3RpdGxlKTogUmVhbGxvY2F0ZQptb2RlX2xp
bmVfbm9wcm9wX2J1ZiBpZiBpdCdzIHNtYWxsZXIgdGhhbiBtYXhpbXVtIGV4cGFuc2lvbgpzdHJf
YXNfbXVsdGlieXRlIHdvdWxkIHVzZS4KLS0tCiBzcmMveGRpc3AuYyB8IDE0ICsrKysrKysrKysr
KystCiAxIGZpbGUgY2hhbmdlZCwgMTMgaW5zZXJ0aW9ucygrKSwgMSBkZWxldGlvbigtKQoKZGlm
ZiAtLWdpdCBhL3NyYy94ZGlzcC5jIGIvc3JjL3hkaXNwLmMKaW5kZXggZTA4YzUyMDc4Yi4uN2Nk
ZWU0ZTU0MiAxMDA2NDQKLS0tIGEvc3JjL3hkaXNwLmMKKysrIGIvc3JjL3hkaXNwLmMKQEAgLTE0
MTY3LDcgKzE0MTY3LDE5IEBAIGd1aV9jb25zaWRlcl9mcmFtZV90aXRsZSAoTGlzcF9PYmplY3Qg
ZnJhbWUpCiAgICAgICBsZW4gPSBNT0RFX0xJTkVfTk9QUk9QX0xFTiAodGl0bGVfc3RhcnQpOwog
ICAgICAgdGl0bGUgPSBtb2RlX2xpbmVfbm9wcm9wX2J1ZiArIHRpdGxlX3N0YXJ0OwogICAgICAg
LyogTWFrZSBzdXJlIHRoYXQgYW55IHJhdyBieXRlcyBpbiB0aGUgdGl0bGUgYXJlIHByb3Blcmx5
Ci0gICAgICAgICByZXByZXNlbnRlZCBieSB0aGVpciBtdWx0aWJ5dGUgc2VxdWVuY2VzLiAgKi8K
KyAgICAgICAgIHJlcHJlc2VudGVkIGJ5IHRoZWlyIG11bHRpYnl0ZSBzZXF1ZW5jZXMuICBNZWFu
d2hpbGUsCisJIGVuc3VyZSB0aGUgYnVmZmVyIHNpemUgc3RheXMgYXQgbGVhc3QgdHdpY2UgdGhl
IHRpdGxlJ3MKKwkgc2l6ZSB0byBnaXZlIGl0IGVub3VnaCBzcGFjZSB3aGlsZSBleHBhbmRpbmcu
ICAqLworICAgICAgaWYgKG1vZGVfbGluZV9ub3Byb3BfYnVmX2VuZCAtIHRpdGxlIDwgMiAqIGxl
bikKKwl7CisJICBwdHJkaWZmX3Qgc2l6ZSA9IG1vZGVfbGluZV9ub3Byb3BfYnVmX2VuZCAtIG1v
ZGVfbGluZV9ub3Byb3BfYnVmOworCSAgbW9kZV9saW5lX25vcHJvcF9idWYKKwkgICAgPSB4cGFs
bG9jIChtb2RlX2xpbmVfbm9wcm9wX2J1ZiwgJnNpemUsCisJCSAgICAgICAyICogbGVuIC0gKG1v
ZGVfbGluZV9ub3Byb3BfYnVmX2VuZCAtIHRpdGxlKSwgLTEsIDEpOworCSAgbW9kZV9saW5lX25v
cHJvcF9idWZfZW5kID0gbW9kZV9saW5lX25vcHJvcF9idWYgKyBzaXplOworCSAgdGl0bGUgPSBt
b2RlX2xpbmVfbm9wcm9wX2J1ZiArIHRpdGxlX3N0YXJ0OworCX0KKwogICAgICAgcHRyZGlmZl90
IG5jaGFycyA9IDA7CiAgICAgICBsZW4gPSBzdHJfYXNfbXVsdGlieXRlICgodW5zaWduZWQgY2hh
ciAqKSB0aXRsZSwKIAkJCSAgICAgIG1vZGVfbGluZV9ub3Byb3BfYnVmX2VuZCAtIHRpdGxlLAot
LSAKMi41NC4wCgo=
--000000000000aed508065547e2a1--
Minseok Lee <senstella01@HIDDEN>:bug-gnu-emacs@HIDDEN.
Full text available.bug-gnu-emacs@HIDDEN:bug#81325; Package emacs.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.