mirror of
https://github.com/irssi/irssi.git
synced 2026-08-16 23:22:16 +02:00
Merge branch 'd-minor' into 'master'
Prevent some potential null-pointer deferences.
See merge request !9
(cherry picked from commit 7ef22687f9)
This commit is contained in:
parent
dfffb0e9d8
commit
554586cddf
3 changed files with 5 additions and 1 deletions
|
|
@ -453,7 +453,7 @@ static void display_sorted_nicks(CHANNEL_REC *channel, GSList *nicklist)
|
|||
}
|
||||
}
|
||||
|
||||
if (str->len > strlen(prefix_format)) {
|
||||
if (prefix_format != NULL && str->len > strlen(prefix_format)) {
|
||||
printtext(channel->server, channel->visible_name,
|
||||
MSGLEVEL_CLIENTCRAP, "%s", str->str);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue