Subject: bug#1809 closed by Chong Yidong <[email-masked]> (Re: bug#1809: decode-coding-inserted-region corrupts files)

From: [email-masked] (Emacs bug Tracking System)
Date: Sun, 22 Feb 2009 18:20:03 +0000

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 <[email-masked]>.

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 <[email-masked]> by
replying to this email.

-- 
1809: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=1809
Emacs Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#1809: decode-coding-inserted-region corrupts files
From: Chong Yidong <[email-masked]>
To: Andreas Schwab <[email-masked]>
Cc: Juri Linkov <[email-masked]>, mj <[email-masked]>, Juanma Barranquero <[email-masked]>, [email-masked]
Date: Sun, 22 Feb 2009 13:15:35 -0500

> 2009-02-22  Andreas Schwab  <[email-masked]>
>
>    * insdel.c (del_range_2): Don't modify gap contents when
>      called from decode_coding_object.  (Bug#1809)

Thanks for fixing this bug.

Subject: 23.0.60; epa-encrypt-file corrupts files
From: Juri Linkov <[email-masked]>
To: [email-masked]
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/