Degrande_Samuel <[EMAIL PROTECTED]> wrote:
Everything is working in debug mode (radiusd -X). but it coredumps in 'normal mode'.
...
So at this point, radlog_dest is always RADLOG_FILES, and then it executes
log.vradlog:94 fopen(mainconfig.log_file, "a")
mainconfig is not yet been filled, so mainconfig.log_file = 0 and the fprintf() on line 95 coredumps.
Hmm... that's bad. I'll commit a fix today, so the CVS snapshot tomorrow should be OK.
I guess that Solaris's fprintf() in libc doesn't like getting NULL's passed to it..
That's not the only problem. You call fopen() with an empty file name, which returns an error on Solaris (that sounds reasonnable to me).
So I wonder how it could ever have worked on Solaris... Does it
mean that I'm the only one trying to use freeradius on Solaris ? :-(
By the way, freeradius is a good job. thank you a lot.
Alan DeKok.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
