Hi, On Thu, Aug 17, 2006 at 12:44:25PM +0100, Chris Lightfoot wrote: > With the following (pretty minimal) dancer-ircd > configuration:
[...]
> and the following /etc/dancer-services/services.conf
[...]
> dancer-services crashes with SIGSEGV soon after connecting
> if there are users on the server, or immediately when a
> user connects.
>
> The crash occurs in server.c at line 918:
>
> if (ircncmp(Me.name, lptr->server->name, strlen(lptr->server->name))) {
>
> because lptr->server is NULL. On closer investigation this
> seems to be because when the ircd connects to services, it
> supplies `*.org' as its server name; this confuses
> dancer-services, and because it doesn't bother to check
> whether lptr->server is non-NULL it crashes when it does
> the compare above.
>
> Presumably there's some change I could make to the
> configuration which would prevent this, though it's not
> obvious to me from my reading of the code and docs.
> Any suggestions would be appreciated! Also,
> dancer-services probably oughtn't to crash in this case.
OK, just to let you know I read your bug report and thanks for
filing it.
Both your configuration files seem correct to me, unless I am missing
something...
I have not the time to deal with it in the very moment, but I will try
to reproduce it as soon as possible. In the mean time, could you maybe
patch the source code to bail out if (lptr->server->name == NULL)?
Cheers,
--
.''`. Aurélien GÉRÔME
: :' :
`. `'` Free Software Developer
`- Unix Sys & Net Admin
signature.asc
Description: Digital signature

