Non capturing parenthesis in regexp causes seg fault.
Arran Cudbard-Bell
A.Cudbard-Bell at sussex.ac.uk
Fri Feb 15 18:07:12 CET 2008
Hi,
Got this on my 32bit intel box running Ubuntu Linux 6.10
if("%{User-Name}" =~ /(?:.*)/){
}
---
++? if ("%{User-Name}" =~ /(?:.*)/)
expand: %{User-Name} -> anonymous
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1213196608 (LWP 6433)]
0xb7bc9492 in regexec () from /lib/tls/i686/cmov/libc.so.6
(gdb) bt
#0 0xb7bc9492 in regexec () from /lib/tls/i686/cmov/libc.so.6
#1 0x0806d6a9 in ?? ()
#2 0xbfb2e650 in ?? ()
#3 0xbfb2ee84 in ?? ()
#4 0x00000009 in ?? ()
#5 0xbfb2e608 in ?? ()
#6 0x00000000 in ?? ()
Normal expressions work fine.
Thanks,
Arran
--
Arran Cudbard-Bell (A.Cudbard-Bell at sussex.ac.uk)
Authentication, Authorisation and Accounting Officer
Infrastructure Services | ENG1 E1-1-08
University Of Sussex, Brighton
EXT:01273 873900 | INT: 3900
More information about the Freeradius-Users
mailing list