Regex operator not working
Stephan Jaeger
stephan.jaeger at ewetel.de
Thu Jan 29 16:22:33 CET 2009
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.
Regards
Stephan Jaeger
--
Stephan Jaeger <stephan.jaeger at ewetel.de>
EWE TEL GmbH
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://lists.freeradius.org/pipermail/freeradius-devel/attachments/20090129/ef949538/attachment.pgp>
More information about the Freeradius-Devel
mailing list