circo

claudio's IRC oasis
git clone git://git.bitsmanent.org/circo
Log | Files | Refs | README | LICENSE

commit 7ca692198307d766c7d200363189e85fa8ff31e7
parent 9bdfa17cb4dad7d2e1a26579e7c26c6a9c6c12ac
Author: Claudio Alessi <smoppy@gmail.com>
Date:   Tue, 15 Nov 2022 22:18:10 +0100

Fix a segfault in recv_namesend()

Diffstat:
Mcirco.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/circo.c b/circo.c @@ -1384,6 +1384,8 @@ recv_namesend(char *host, char *par, char *names) { Buffer *b = getbuf(chan), *tb; Nick *n; + if(!b) + b = status; b->recvnames = 0; if(!b->names) { bprintf_prefixed(sel, "No names in %s.\n", chan);