[Top][All Lists]

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

Re: [bug-recutils] [BUG] Long regular expression crashes recfix

From: Titus von der Malsburg
Subject: Re: [bug-recutils] [BUG] Long regular expression crashes recfix
Date: Fri, 05 Jun 2015 16:29:05 -0700

On 2015-06-05 Fri 10:40, Jose E. Marchesi wrote:
> Hi Titus.
>       %rec: Dataset
>       %mandatory: Keyword
>       %type: Keyword regexp /(Research data|Eye 
> movements|Reading|Psychology|Parafoveal processing|Word 
> identification|Sentence processing|Word frequency|Word predictability|Lexical 
> ambiguity|Preview benefit|Eyetracking|Reading ability)/
>       Keyword: Research data
>     When I remove a term from the list of keywords, it works, which perhaps
>     indicates that the code assumes an upper limit on the length of the
>     regular expression.
>     Tested with recutils 1.7 built from source on Xubuntu 14.04.
> I can't reproduce the problem with GIT recutils.  Your bug is strange,
> because no hard limit ever existed in the lenght of a regexp literal in
> %type (or %typedef) fields.  I am pretty sure of that.
> Could you please try to git clone git.sv.gnu.org/recutils.git and see if
> you can reproduce the problem with the latest master?

Just tried it and it still crashes:

    $ recfix test.rec 
    *** stack smashing detected ***: recfix terminated
    Aborted (core dumped)

Let me know if you want me to provide additional information.


> Thanks!

Attachment: signature.asc
Description: PGP signature

reply via email to

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