Branch: refs/heads/master Home: https://github.com/ngircd/ngircd Commit: 02cf31c0e267a4c9a7656d43ad3ad4eeb37fc9c5 https://github.com/ngircd/ngircd/commit/02cf31c0e267a4c9a7656d43ad3ad4eeb37f... Author: Alexander Barton alex@barton.de Date: 2020-05-25 (Mon, 25 May 2020)
Changed paths: M src/ngircd/irc-server.c
Log Message: ----------- IRC_SERVER: Make sure that the client sent a prefix
The SERVER command is only valid with a prefix when received from other servers, so make sure that there is one and disconnect the peer if not (instead of crashing ...).
This obsoletes PR #275.
Thanks Hilko Bengen (hillu) for finding & reporting this as well for the patch & pull request! But I think this is the "more correct" fix.