GNU bug report logs - #1809
decode-coding-inserted-region corrupts files

Previous Next

Package: emacs;

Reported by: Juri Linkov <juri <at> jurta.org>

Date: Tue, 6 Jan 2009 17:55:03 UTC

Severity: normal

Merged with 2416

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (Emacs bug Tracking System)
To: Juri Linkov <juri <at> jurta.org>
Subject: bug#1809 closed by Chong Yidong <cyd <at> stupidchicken.com> (Re: 
 bug#1809: decode-coding-inserted-region corrupts files)
Date: Sun, 22 Feb 2009 18:20:03 +0000
[Message part 1 (text/plain, inline)]
This is an automatic notification regarding your bug report
which was filed against the emacs package:

#1809: decode-coding-inserted-region corrupts files

It has been closed by Chong Yidong <cyd <at> stupidchicken.com>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Chong Yidong <cyd <at> stupidchicken.com> by
replying to this email.


-- 
1809: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=1809
Emacs Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Chong Yidong <cyd <at> stupidchicken.com>
To: Andreas Schwab  <schwab <at> linux-m68k.org>
Cc: Juri Linkov <juri <at> jurta.org>, mj <mj54590 <at> gmail.com>,
        Juanma Barranquero <lekktu <at> gmail.com>,
        1809-done <at> debbugs.gnu.org
Subject: Re: bug#1809: decode-coding-inserted-region corrupts files
Date: Sun, 22 Feb 2009 13:15:35 -0500
> 2009-02-22  Andreas Schwab  <schwab <at> linux-m68k.org>
>
>    * insdel.c (del_range_2): Don't modify gap contents when
>      called from decode_coding_object.  (Bug#1809)

Thanks for fixing this bug.

[Message part 3 (message/rfc822, inline)]
From: Juri Linkov <juri <at> jurta.org>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.0.60; epa-encrypt-file corrupts files
Date: Tue, 06 Jan 2009 19:32:12 +0200
Test case:

1. Create a file `test' with the following 3 lines:

Test.
Test2.
Test3.

2. Save it.

3. Call `epa-encrypt-file' to encrypt it with no key
using symmetric encryption giving the password "test".

4. Visit the file `test.gpg' using the password "test".

5. The decoded buffer has the corrupted content:

^@est.
Test2.
Test3.

where ^@ is a NULL control character.

GNU Emacs 23.0.60 (x86_64-pc-linux-gnu) of 2009-01-06

-- 
Juri Linkov
http://www.jurta.org/emacs/



This bug report was last modified 16 years and 95 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.