[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: bugtraq:logregex parser error freezes TSVN

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2007-10-25 18:14:27 CEST

Rüdiger Ranft wrote:
> Hi *,
> i found a nasty bug in TSVN when the bugtraq:logregex contains errors.
> The following regex will cause TSVN to freeze when the first bug number
> gets to long for the first match part:
> ([Rr]efs|[Ff]ixes) #(\d+)(,? ?#(\d+))*
> chokes on "refs #12345"

Your regex is faulty: the definitions for one-line bugtraq:logregex
states that the first group has to match the whole string, the second
one the bug ID only.

Please use a two line regex as explained in the docs.


   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Thu Oct 25 18:14:44 2007

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.