bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#2435: Bug 2435


From: Kenichi Handa
Subject: bug#2435: Bug 2435
Date: Thu, 05 Mar 2009 20:23:21 +0900

In article <877i34shq2.fsf@cyd.mit.edu>, Chong Yidong <cyd@stupidchicken.com> 
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
handa@m17n.org






reply via email to

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