Bad pointer usage in chanserv OnDelCore()
Bug #1473231 reported by
LaMont Jones
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
anope (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
When nickserv drops a user registration and ChanServCore:
The attached patch fixes it.
tags: | added: patch |
To post a comment you must log in.
The issue only occurs when we have a non-trivial list of channels for which the user is the founder, and there is no specified successor founder. The following reproduces the issue handily:
as non-oper nick lj_test:
/msg nickserv register foobaz <email address hidden>
/join #chan1
/join #chan2
/msg chanserv register #chan1 asdadfa
and then as an oper:
/msg nickserv drop lj_test
With the suggested change, anope stays running, and the nick is fully dropped.