Subject: Re: Bug 2435

From: Kenichi Handa <[email-masked]>
Date: Thu, 05 Mar 2009 20:23:21 +0900

In article <[email-masked]>, Chong Yidong <[email-masked]> writes:

> The following patch tries to avoid the problem by updating the regexp
> list before using the regexp cell.  It seems to fix the problem; or do
> have a different suggestion?

It will fix the current problem of bufp contents being
changed by recursive call, but we still have a danger of
Lisp code being called in re_compile_pattern, which may lead
to relocation of string data pointed by the arg "pattern".
So, I think we must avoid any Lisp calls within
re_compile_pattern.

---
Kenichi Handa
[email-masked]