Non capturing parenthesis in regexp causes seg fault.
Alan DeKok
aland at deployingradius.com
Fri Feb 15 19:01:46 CET 2008
Arran Cudbard-Bell wrote:
> Hi,
>
> Got this on my 32bit intel box running Ubuntu Linux 6.10
>
> if("%{User-Name}" =~ /(?:.*)/){
I'm not sure that's a valid regular expression... '?' is usually a
modifier...
> 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
It might be a bug in the regular expression library...
> #1 0x0806d6a9 in ?? ()
Ugh. 2.0.x *should* be built with debugging symbols, and should *not*
be stripped of those symbols before being installed.
Alan DeKok.
More information about the Freeradius-Users
mailing list