[Top] [All Lists]

bug#2435: Bug 2435

Subject: bug#2435: Bug 2435
From: Kenichi Handa
Date: Thu, 05 Mar 2009 15:39:16 +0900
Newsgroups: gnu.emacs.bug

In article <[email protected]>, Chong Yidong <[email protected]> 

> Kenichi Handa <[email protected]> writes:
> > It seems that `pattern' is correct, but `bufp->buffer' is
> > the compiled code for some of jkr-compr related regexp.
> > Could you please find why that happens?

> I think the problem is that regex_compile can call load_charset, which
> can call regex_compile.  I think regex_compile is not designed to be
> called recursively, leading to memory corruption.

Ah!  That is a likely cause of the bug.  I'll find a way to
avoid loading charset at that moment.

Kenichi Handa
[email protected]

<Prev in Thread] Current Thread [Next in Thread>