]> jfr.im git - irc/charybdis-ircd/charybdis.git/commit
whois: check target is an oper before assuming they have a privset
authorAaron Jones <redacted>
Tue, 20 Sep 2016 13:46:33 +0000 (13:46 +0000)
committerAaron Jones <redacted>
Tue, 20 Sep 2016 13:47:55 +0000 (13:47 +0000)
commitc6d884e877b3b660cf81b42fef83d5c77e6401b8
tree44dc401372fab35b9a8d5e6d6b30da97d46c832f
parentb1c32af98e06e55c88dd4cf353cc2b8db9e98f1b
whois: check target is an oper before assuming they have a privset

The CHALLENGE functionality will set opername but not privset --
if an oper performs a WHOIS on someone currently half-way through
a challenge we will perform a NULL dereference.

Related to ircd-seven commit d7b05f7583babf6
modules/m_whois.c