]> arthur.barton.de Git - ngircd-alex.git/commit
Make server-to-server protocol more robust
authorAlexander Barton <alex@barton.de>
Thu, 3 Sep 2015 14:22:36 +0000 (16:22 +0200)
committerAlexander Barton <alex@barton.de>
Thu, 3 Sep 2015 14:22:36 +0000 (16:22 +0200)
commiteb9929e82c735100a0b432f878f83fce091eb636
treeedab4571b9a9546125e1555946c42852b649b355
parentc2e4c304e3adde2217056c2e6d674fd24e0cd800
Make server-to-server protocol more robust

Now ngIRCd catches more errors on the server-to-server (S2S) protocol
that could crash the daemon before. This hasn't been a real problem
because the IRC S2S protocol is "trusted" by design, but the behavior
is much better now.

Thanks to wowaname on #ngircd for pointing this out!
src/ngircd/irc-login.c
src/ngircd/irc-macros.h
src/ngircd/irc-metadata.c
src/ngircd/irc-oper.c
src/ngircd/irc.c
src/ngircd/parse.c