Regex operator not working
    Alan DeKok 
    aland at deployingradius.com
       
    Thu Jan 29 16:46:12 CET 2009
    
    
  
Stephan Jaeger wrote:
> Hello,
> 
> in src/lib/valuepair.c there is a
> 
> case T_OP_REG_EQ:  /* =~ */
> case T_OP_REG_NE:  /* !~ */
> 
> return vp;
> 
> around line 1540.
> 
> But the value is copied into the vp just before the end of the function.
> This lets every AVP with a regex op have an empty value which makes the
> regex always match.
  Good catch.  I'll commit a fix.
  I think we need a 2.1.4 next week.
  Alan DeKok.
    
    
More information about the Freeradius-Devel
mailing list