bug-m4
[Top][All Lists]
Advanced

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

Re: Using changeword in M4-1.4.1 can cause Segmentation Fault


From: Gary V. Vaughan
Subject: Re: Using changeword in M4-1.4.1 can cause Segmentation Fault
Date: Fri, 04 Feb 2005 13:15:33 +0000
User-agent: Mozilla Thunderbird 0.9 (X11/20041103)

Hi Frank,

Sorry for the delay, I have been busy with Libtool (and moving house!).

Frank Schwidom wrote:
> The following code causes an Segfault in M4 if it is compiled with the
> 'configure --enable-changeword' switch:
> 
> changequote( [, ])dnl
> changeword( [[]])dnl
> A

Thanks for the report, I've fixed the bug by compiling the regex to a
temporary buffer without overwriting current word_regex. to flush out any
errors in the regex before doing a real compilation to word_regexp only
if the dummy compile succeeds.

I may release 1.4.3 this weekend if my new internet provider connects
me, and I can clear the patch queue.

Cheers,
        Gary.
-- 
Gary V. Vaughan      ())_.  address@hidden,gnu.org}
Research Scientist   ( '/   http://tkd.kicks-ass.net
GNU Hacker           / )=   http://www.gnu.org/software/libtool
Technical Author   `(_~)_   http://sources.redhat.com/autobook

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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