[IRCServices Coding] Akick segfault [was: A few new bugs/suggestions]

Mark Hetherington mark at mhetherington.demon.co.uk
Wed Feb 6 13:52:13 PST 2002


The original user which managed to segfault services had previously issued
the GHOST command on his actual nick of Gaspode from Gaspode2. Gaspode has
AKICK rights on the #xdigital channel in question. However, Gaspode2 did not
have ops in the channel since this nick not registered or linked to another
nick.

Although I cannot get hold of his /ns status report at the time, he should
not have had any rights wrt the channel.

I now have two 100% reproducable cases:

1) Log onto IRC, do not ident to Nickserv, Oper up.
2) Issue any /cs akick #channel command. The channel does not have to be in
use but does have to be registered with Chanserv.
3) Segfault will happen.

And...

1) Log onto IRC as a plain user with an unregistered nickname
2) Issue any /cs akick #channel command. The channel does not have to be in
use but does have to be registered with Chanserv.
3) Segfault will happen.

Basically any user using an unregistered nick can bring services down by
issuing any /cs akick #channel command.

Mark.