[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: address@hidden (Pavel Janík)] Re: crash in emacs-21.1

From: Kenichi Handa
Subject: Re: address@hidden (Pavel Janík)] Re: crash in emacs-21.1
Date: Wed, 31 Oct 2001 09:16:53 +0900 (JST)
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.0.107 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI)

address@hidden (Gerd Moellmann) writes:
> address@hidden (Gerd Moellmann) writes:
>>  It might be better to rewrite str_as_multibyte and maybe other similar
>>  functions in the future, or let them at least check for buffer
>>  overruns.

> I forgot to tell that I didn't check other places if they have similar
> problems.

I've checked it.  All the other places are safe.

Here's a comment of the usage of str_as_multibyte in ccl.c
(line 2152) and coding.c (line 4513).  They both try to make
the byte sequence produced by ccl_dirver sane as multibyte.
For that, we don't have to check the buffer overrun because
ccl_driver never produces the byte sequence longer than:

Ken'ichi HANDA

reply via email to

[Prev in Thread] Current Thread [Next in Thread]