]> arthur.barton.de Git - ngircd.git/commit
KICK: Fix denial of service bug
authorSebastian Köhler <sebkoehler@whoami.org.uk>
Thu, 14 Feb 2013 18:21:01 +0000 (19:21 +0100)
committerAlexander Barton <alex@barton.de>
Fri, 15 Feb 2013 10:56:24 +0000 (11:56 +0100)
commitb3d4cf9081fc32df969760b5b58a21954a27d073
tree168390458fcb7b24c00a033801c0316d5ad9d77f
parent1265eb15b8b3eae1a25906daaa4e38de3feb3f16
KICK: Fix denial of service bug

Test if the user that it is to be kicked is on the channel before user
channel modes are tested. Otherwise assert( cl2chan != NULL ); in
line 742 would fail and stop the service.
(cherry picked from commit 0e63fb3fa7ac4ca048e8c2b648d2be3fd0572311)
src/ngircd/channel.c