GNU bug report logs - #2370
23.0.90; decode-coding-region make emacs crash

Previous Next

Package: emacs;

Reported by: Hiroshi Fujishima <h-fujishima <at> sakura.ad.jp>

Date: Wed, 18 Feb 2009 03:45:03 UTC

Severity: normal

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: Kenichi Handa <handa <at> m17n.org>
To: Chong Yidong <cyd <at> stupidchicken.com>
Cc: h-fujishima <at> sakura.ad.jp, 2370 <at> debbugs.gnu.org
Subject: bug#2370: 23.0.90; decode-coding-region make emacs crash
Date: Thu, 19 Feb 2009 12:56:42 +0900
In article <87d4dfqg5h.fsf <at> cyd.mit.edu>, Chong Yidong <cyd <at> stupidchicken.com> writes:

> Kenichi Handa <handa <at> m17n.org> writes:
> > I found two bugs related to this problem, and just installed
> > a fix for one of them.  Now the above specific problem
> > should be fixed.  I'll keep on workning to fix the other bug
> > to make the decoding more robust.

> Thanks.  I think decode_coding should also verify the size of the
> unprocessed bytes before writing them to coding->carrover.  This way,
> future bugs of this sort will not cause memory corruption (which might
> be a security concern).  What's your opinion?

Yes.  I'm going to add such a check.

But it doesn't solve the underlying problem of handling too
long (and wrong) composition sequence in iso-2022 decoding.
Solving it requires a little bit more time.

---
Kenichi Handa
handa <at> m17n.org




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

Previous Next


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