bug-recutils
[Top][All Lists]
Advanced

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

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


From: Titus von der Malsburg
Subject: [bug-recutils] [BUG] Long regular expression crashes recfix
Date: Mon, 01 Jun 2015 19:06:28 -0700


Hi list,

I have a simple recfile that consistently crashes with a core dump:

#+BEGIN_EXAMPLE

  %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
  
#+END_EXAMPLE

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.

  Titus


Attachment: signature.asc
Description: PGP signature


reply via email to

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