regex matching can be convinced to be TRUE if you're insistive enough?

Alan DeKok aland at deployingradius.com
Tue May 24 16:38:55 CEST 2011


Stefan Winter wrote:
> while working on server optimisations for one of our customers, I
> stumbled upon something funny (2.1.10).
> 
> At one point, a huge regex needs to be executed. When the input string
> has a length n < ??, and the regex doesn't match, the result is FALSE -
> no surprise here.
>
> If I make the input string long enough to m > ?? > n, and the regex
> doesn't match, the result is TRUE.

  There are some issues with regex matching in 2.1.10.  2.1.11 contains
fixes.

  Alan DeKok.



More information about the Freeradius-Devel mailing list