Fix segmentation fault on IRC server reply

Review Request #1484 — Created May 28, 2022 and submitted — Latest diff uploaded

Information

pidgin/pidgin
release-2.x.y

Reviewers

When Pidgin received :nick!user@host JOIN #channel from an IRC
server, it worked fine, but when it received
:nick JOIN #channel, it crashed with a segmentation fault.

Tested with a custom IRC server that only sends the nickname. Also tested on Libera Chat.

Commits

Files