Hi,
I had some similar problem couple of days ago - I'm not sure is your
case also. The cause was in radiusclient library version 0.4.7 where a
fresh alloced structure was used without being initialized (when parsing
the configuration file). So, some uninitialized array index was causing
a segmentation fault at startup.
Here is a small patch which fixes this problem. Hope it will help.
Best regards,
Marian
Davidescu Ioan wrote:
Hi everybody,
I am having problems using the auth_radius module.
I manage to start the SER server with mysql support I login with a cisco
ata 186 messeger and everthing worked ok.
I am tryin now to use the auth_radius. Radius is working on my server
because i am using also a pptp + mppe + radius auth and this works ok.
I tryed using the binaries and also i have compiled everting from
scratch and i get the same Segmentation fault.
When I try to start ser I get the folowing.
--
Voice Sistem
http://www.voice-sistem.ro
diff -u lib/config.c ../radiusclient-0.4.7.md/lib/config.c
--- lib/config.c 2004-11-16 14:49:19.000000000 +0100
+++ ../radiusclient-0.4.7.md/lib/config.c 2004-11-27 15:40:37.000000000 +0100
@@ -105,6 +105,7 @@
rc_log(LOG_CRIT, "read_config: out of memory");
return -1;
}
+ memset( serv, 0, sizeof(*serv));
}
while ((p = strtok(p, ", \t")) != NULL) {