summary refs log tree commit diff
path: root/src/ipaddr
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2020-05-25 23:43:29 +0200
committerAlexander Barton <alex@barton.de>2020-05-25 23:51:00 +0200
commit02cf31c0e267a4c9a7656d43ad3ad4eeb37fc9c5 (patch)
tree956df4b2e5d9f6e83766d0f7daf1f16851637fdc /src/ipaddr
parent430bb223765281487e5c6d415a8efb91e2bf3320 (diff)
downloadngircd-02cf31c0e267a4c9a7656d43ad3ad4eeb37fc9c5.tar.gz
ngircd-02cf31c0e267a4c9a7656d43ad3ad4eeb37fc9c5.zip
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.
Diffstat (limited to 'src/ipaddr')
0 files changed, 0 insertions, 0 deletions