From unknown Mon Aug 18 20:14:24 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10701: 24.0.93; Crash while decoding input with DOS EOLs Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 Feb 2012 18:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 10701 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 10701@debbugs.gnu.org Cc: Kenichi Handa X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Reply-To: Eli Zaretskii Received: via spool by submit@debbugs.gnu.org id=B.132820673311871 (code B ref -1); Thu, 02 Feb 2012 18:19:02 +0000 Received: (at submit) by debbugs.gnu.org; 2 Feb 2012 18:18:53 +0000 Received: from localhost ([127.0.0.1]:51133 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rt1FF-00035P-3d for submit@debbugs.gnu.org; Thu, 02 Feb 2012 13:18:53 -0500 Received: from eggs.gnu.org ([140.186.70.92]:39696) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rt1Ey-00034w-Tk for submit@debbugs.gnu.org; Thu, 02 Feb 2012 13:18:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rt1EM-0005MK-R4 for submit@debbugs.gnu.org; Thu, 02 Feb 2012 13:18:03 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([140.186.70.17]:44406) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rt1EM-0005MG-Pe for submit@debbugs.gnu.org; Thu, 02 Feb 2012 13:17:58 -0500 Received: from eggs.gnu.org ([140.186.70.92]:54060) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rt1EI-0005CD-VU for bug-gnu-emacs@gnu.org; Thu, 02 Feb 2012 13:17:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rt1E7-0005KN-Sg for bug-gnu-emacs@gnu.org; Thu, 02 Feb 2012 13:17:54 -0500 Received: from mtaout20.012.net.il ([80.179.55.166]:65413) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rt1E7-0005K5-Ed for bug-gnu-emacs@gnu.org; Thu, 02 Feb 2012 13:17:43 -0500 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0LYS00G002M7ST00@a-mtaout20.012.net.il> for bug-gnu-emacs@gnu.org; Thu, 02 Feb 2012 20:17:37 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.124.37.111]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LYS00G592TBQS30@a-mtaout20.012.net.il>; Thu, 02 Feb 2012 20:17:37 +0200 (IST) Date: Thu, 02 Feb 2012 20:15:39 +0200 From: Eli Zaretskii X-012-Sender: halo1@inter.net.il Message-id: <83bophp0dw.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -4.2 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) This bug report will be sent to the Bug-GNU-Emacs mailing list and the GNU bug tracker at debbugs.gnu.org. Please check that the From: line contains a valid email address. After a delay of up to one day, you should receive an acknowledgement at that address. Please write in English if possible, as the Emacs maintainers usually do not have translators for other languages. Please describe exactly what actions triggered the bug, and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': I see this both with today's trunk and in the 24.0.93 pretest, both on GNU/Linux and on MS-Windows. To reproduce: emacs -Q C-x b foo RET M-: (set-buffer-multibyte nil) RET C-x RET c undecided-dos RET C-u M-! gunzip -c emacs-24.0.93.tar.gz RET (It must be the tarball of Emacs 24.0.93, because the bug is data-dependent. It doesn't have to be .tar.gz, as long as you use the correct decompressor: bunzip2 for .tar.bz2. xz for .tar.xz, etc. You can even do this with an uncompressed tarball and cat. The important part is that Emacs gets the byte stream of that tarball, and it gets it from a subprocess.) This crashes somewhere in the middle of reading the output from the subprocess. The immediate reason for the crash can be seen from this fragment of the backtrace: #0 w32_abort () at w32fns.c:7196 #1 0x012eea83 in temp_set_point_both (buffer=0x10137600, charpos=45817604, bytepos=45817605) at intervals.c:1870 #2 0x01135816 in Fcall_process (nargs=6, args=0x82f644) at callproc.c:846 As you see temp_set_point_both gets character position and byte position that are different, which cannot happen in a unibyte buffer (as can be seen above, the recipe makes the buffer `foo' a unibyte one). There's an assertion inside temp_set_point_both that aborts due to this. The call to temp_set_point_both is in call-process: TEMP_SET_PT_BOTH (PT + process_coding.produced_char, PT_BYTE + process_coding.produced); carryover = process_coding.carryover_bytes; if (carryover > 0) memcpy (buf, process_coding.carryover, process_coding.carryover_bytes); The crash happens at the point in the input byte stream where the last byte in the chunk we read from the pipe is \r. Since the stream is decoded with raw-text-dos coding-system, this last \r is left as a "carryover", for the possibility that there will be a \n at the beginning of the next chunk. However, process_coding.produced does not account for this single byte that was not processed, and gets the value one more than it should. As far as I could see, the problematic code that sets process_coding.produced to incorrect value is in decode_coding, around line 7176: else { /* Record unprocessed bytes in coding->carryover. We are sure that the number of data is less than the size of coding->carryover. */ unsigned char *p = coding->carryover; if (nbytes > sizeof coding->carryover) nbytes = sizeof coding->carryover; coding->carryover_bytes = nbytes; while (nbytes-- > 0) *p++ = *src++; } coding->consumed = coding->src_bytes; <<<<<<<<<<<<<<<<<<< This last assignment then causes produce_chars to set coding->produced to an incorrect value: /* Source characters are at coding->source. */ const unsigned char *src = coding->source; const unsigned char *src_end = src + coding->consumed; <<<<<<<<<<<< ... produced_chars = coding->consumed_char; while (src < src_end) *dst++ = *src++; } } produced = dst - (coding->destination + coding->produced); <<<<<<<<<<< if (BUFFERP (coding->dst_object) && produced_chars > 0) insert_from_gap (produced_chars, produced); coding->produced += produced; <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< coding->produced_char += produced_chars; I don't understand the logic of "carryover" in decode_coding well enough to decide how to fix it. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file d:/gnu/bzr/emacs/trunk/etc/DEBUG. In GNU Emacs 24.0.93.1 (i386-mingw-nt5.1.2600) of 2012-02-02 on HOME-C4E4A596F7 Windowing system distributor `Microsoft Corp.', version 5.1.2600 Configured using: `configure --with-gcc (3.4) --no-opt' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ENU value of $XMODIFIERS: nil locale-coding-system: cp1255 default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-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 auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x r e p o r t - e m Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader emacsbug time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32 disp-table ls-lisp w32-win w32-vars tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process multi-tty emacs) From unknown Mon Aug 18 20:14:24 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10701: 24.0.93; Crash while decoding input with DOS EOLs Resent-From: Andreas Schwab Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 03 Feb 2012 08:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10701 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 10701@debbugs.gnu.org Received: via spool by 10701-submit@debbugs.gnu.org id=B10701.1328259439858 (code B ref 10701); Fri, 03 Feb 2012 08:58:01 +0000 Received: (at 10701) by debbugs.gnu.org; 3 Feb 2012 08:57:19 +0000 Received: from localhost ([127.0.0.1]:51647 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RtExK-0000Dn-LP for submit@debbugs.gnu.org; Fri, 03 Feb 2012 03:57:19 -0500 Received: from mail-out.m-online.net ([212.18.0.9]:49702) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RtExI-0000DY-PQ for 10701@debbugs.gnu.org; Fri, 03 Feb 2012 03:57:17 -0500 Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 4C7111C0C166; Fri, 3 Feb 2012 09:56:39 +0100 (CET) X-Auth-Info: xjR2TLQ3WKD/4QlwEvCjeQSVO0tCWszymaumKpESapg= Received: from igel.home (ppp-88-217-123-103.dynamic.mnet-online.de [88.217.123.103]) by mail.mnet-online.de (Postfix) with ESMTPA id 338D51C001B9; Fri, 3 Feb 2012 09:56:39 +0100 (CET) Received: by igel.home (Postfix, from userid 501) id 9C421CA29E; Fri, 3 Feb 2012 09:56:38 +0100 (CET) From: Andreas Schwab References: <83bophp0dw.fsf@gnu.org> X-Yow: If Robert Di Niro assassinates Walter Slezak, will Jodie Foster marry Bonzo?? Date: Fri, 03 Feb 2012 09:56:38 +0100 In-Reply-To: <83bophp0dw.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 02 Feb 2012 20:15:39 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.93 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) (with-temp-buffer (let ((coding-system-for-read 'undecided-dos)) (set-buffer-multibyte nil) (shell-command "yes 'a\r'" t))) Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From unknown Mon Aug 18 20:14:24 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10701: 24.0.93; Crash while decoding input with DOS EOLs In-Reply-To: <83bophp0dw.fsf@gnu.org> Resent-From: Leo Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 03 Feb 2012 15:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10701 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 10701@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.132828378416704 (code B ref -1); Fri, 03 Feb 2012 15:44:02 +0000 Received: (at submit) by debbugs.gnu.org; 3 Feb 2012 15:43:04 +0000 Received: from localhost ([127.0.0.1]:52429 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RtLI0-0004LM-2B for submit@debbugs.gnu.org; Fri, 03 Feb 2012 10:43:04 -0500 Received: from eggs.gnu.org ([140.186.70.92]:47545) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RtLHx-0004Kt-1n for submit@debbugs.gnu.org; Fri, 03 Feb 2012 10:43:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RtLHF-0003qv-7w for submit@debbugs.gnu.org; Fri, 03 Feb 2012 10:42:22 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_NUMERIC_HELO,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 Received: from lists.gnu.org ([140.186.70.17]:56974) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RtLHF-0003qo-1S for submit@debbugs.gnu.org; Fri, 03 Feb 2012 10:42:17 -0500 Received: from eggs.gnu.org ([140.186.70.92]:58966) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RtLHA-0008MQ-Ru for bug-gnu-emacs@gnu.org; Fri, 03 Feb 2012 10:42:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RtLH9-0003q1-DJ for bug-gnu-emacs@gnu.org; Fri, 03 Feb 2012 10:42:12 -0500 Received: from plane.gmane.org ([80.91.229.3]:47192) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RtLH8-0003ph-Rf for bug-gnu-emacs@gnu.org; Fri, 03 Feb 2012 10:42:11 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1RtLH5-0000fJ-K6 for bug-gnu-emacs@gnu.org; Fri, 03 Feb 2012 16:42:07 +0100 Received: from 222.130.134.199 ([222.130.134.199]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 03 Feb 2012 16:42:07 +0100 Received: from sdl.web by 222.130.134.199 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 03 Feb 2012 16:42:07 +0100 X-Injected-Via-Gmane: http://gmane.org/ From: Leo Date: Fri, 03 Feb 2012 23:41:54 +0800 Lines: 9 Message-ID: References: <83bophp0dw.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 222.130.134.199 Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoAgMAAADxkFD+AAAADFBMVEUvT09qWs3/pQD///+J kUVcAAAAAWJLR0QAiAUdSAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9cBBwMLOd3veKQA AACuSURBVBjTldE9CgIxEAXgB+lEyFUC2wo5ikdZ8DSypxhMY7H9VuIVwlqkGRgnm59VsHGafIQ3 CZlAtmKIRaHETgYa12lqvEsPYKf8wXHsPGfqPaUM0g9aJPKFXkmNQmSDqwzz4Fpgpz+6WAPY2z5o uPJJpu0uypcl4nyCibMLQ8lCiVjayLoQvw5LsVKQuHPRR958HZbOcVsKeepcLxpByjycGvnKmY+c MBvrtyjfe0vmuLvdq/kAAAAASUVORK5CYII= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (Mac OS X 10.6.8) Cancel-Lock: sha1:rcZ6+j24uaHkvNhgzNR9uYHqGCI= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -3.0 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.0 (---) On 2012-02-03 16:56 +0800, Andreas Schwab wrote: > (with-temp-buffer > (let ((coding-system-for-read 'undecided-dos)) > (set-buffer-multibyte nil) > (shell-command "yes 'a\r'" t))) Crash emacs 23.4 as well! Leo From unknown Mon Aug 18 20:14:24 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10701: 24.0.93; Crash while decoding input with DOS EOLs References: <83bophp0dw.fsf@gnu.org> Resent-From: Kenichi Handa Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 08 Feb 2012 08:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10701 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Andreas Schwab Cc: 10701@debbugs.gnu.org, eliz@gnu.org Received: via spool by 10701-submit@debbugs.gnu.org id=B10701.13286901044558 (code B ref 10701); Wed, 08 Feb 2012 08:36:02 +0000 Received: (at 10701) by debbugs.gnu.org; 8 Feb 2012 08:35:04 +0000 Received: from localhost ([127.0.0.1]:59948 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rv2zX-0001BS-F2 for submit@debbugs.gnu.org; Wed, 08 Feb 2012 03:35:03 -0500 Received: from mx1.aist.go.jp ([150.29.246.133]:44977) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rv2zL-0001Ar-PO for 10701@debbugs.gnu.org; Wed, 08 Feb 2012 03:35:02 -0500 Received: from rqsmtp2.aist.go.jp (rqsmtp2.aist.go.jp [150.29.254.123]) by mx1.aist.go.jp with ESMTP id q188XmGG023025; Wed, 8 Feb 2012 17:33:48 +0900 (JST) env-from (handa@m17n.org) Received: from smtp2.aist.go.jp by rqsmtp2.aist.go.jp with ESMTP id q188Xll4019442; Wed, 8 Feb 2012 17:33:47 +0900 (JST) env-from (handa@m17n.org) Received: by smtp2.aist.go.jp with ESMTP id q188Xk9N003165; Wed, 8 Feb 2012 17:33:46 +0900 (JST) env-from (handa@m17n.org) From: Kenichi Handa In-Reply-To: (message from Andreas Schwab on Fri, 03 Feb 2012 09:56:38 +0100) Date: Wed, 08 Feb 2012 17:33:39 +0900 Message-ID: <87wr7xhggs.fsf@m17n.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) In article , Andreas Schwab writes: > (with-temp-buffer > (let ((coding-system-for-read 'undecided-dos)) > (set-buffer-multibyte nil) > (shell-command "yes 'a\r'" t))) I've just installed a fix to emacs-23 branch. --- Kenichi Handa handa@m17n.org From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 09 02:49:54 2012 Received: (at control) by debbugs.gnu.org; 9 Feb 2012 07:49:54 +0000 Received: from localhost ([127.0.0.1]:33190 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RvOlO-0005J4-4t for submit@debbugs.gnu.org; Thu, 09 Feb 2012 02:49:54 -0500 Received: from fencepost.gnu.org ([140.186.70.10]:39557 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RvOlI-0005It-G9 for control@debbugs.gnu.org; Thu, 09 Feb 2012 02:49:52 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RvOkE-0003j6-39 for control@debbugs.gnu.org; Thu, 09 Feb 2012 02:48:42 -0500 Date: Thu, 09 Feb 2012 02:48:42 -0500 Message-Id: Subject: control message for bug 10701 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) close 10701 24.0.94 From unknown Mon Aug 18 20:14:24 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10701: 24.0.93; Crash while decoding input with DOS EOLs Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 10 Feb 2012 11:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10701 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Kenichi Handa Cc: 10701@debbugs.gnu.org, schwab@linux-m68k.org Reply-To: Eli Zaretskii Received: via spool by 10701-submit@debbugs.gnu.org id=B10701.132887200323333 (code B ref 10701); Fri, 10 Feb 2012 11:07:01 +0000 Received: (at 10701) by debbugs.gnu.org; 10 Feb 2012 11:06:43 +0000 Received: from localhost ([127.0.0.1]:34607 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RvoJO-00064I-Ph for submit@debbugs.gnu.org; Fri, 10 Feb 2012 06:06:43 -0500 Received: from mtaout23.012.net.il ([80.179.55.175]:55311) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RvoJI-000640-HT for 10701@debbugs.gnu.org; Fri, 10 Feb 2012 06:06:41 -0500 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0LZ600D00BWU3O00@a-mtaout23.012.net.il> for 10701@debbugs.gnu.org; Fri, 10 Feb 2012 13:05:17 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.126.149.156]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LZ600CDKC4SXWD0@a-mtaout23.012.net.il>; Fri, 10 Feb 2012 13:05:16 +0200 (IST) Date: Fri, 10 Feb 2012 13:05:15 +0200 From: Eli Zaretskii In-reply-to: <87wr7xhggs.fsf@m17n.org> X-012-Sender: halo1@inter.net.il Message-id: <838vkb9ces.fsf@gnu.org> References: <87wr7xhggs.fsf@m17n.org> X-Spam-Score: -1.2 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.2 (-) > From: Kenichi Handa > Cc: eliz@gnu.org, 10701@debbugs.gnu.org > Date: Wed, 08 Feb 2012 17:33:39 +0900 > > In article , Andreas Schwab writes: > > > (with-temp-buffer > > (let ((coding-system-for-read 'undecided-dos)) > > (set-buffer-multibyte nil) > > (shell-command "yes 'a\r'" t))) > > I've just installed a fix to emacs-23 branch. Thanks, confirmed.