diff options
author | Joseph Bisch <joseph.bisch@gmail.com> | 2017-10-16 16:21:10 -0400 |
---|---|---|
committer | ailin-nemui <ailin-nemui@users.noreply.github.com> | 2017-10-20 15:22:32 +0200 |
commit | 73d7b9d7753d35c63f24defe6d26c7c06ffa3cce (patch) | |
tree | 54ca5d218d96d0081c3fc02ec059da99770ca3cc /irssi-version.sh | |
parent | 28d0b8c74602db0474c78ccbe17ae1ba03fcf665 (diff) | |
download | irssi-73d7b9d7753d35c63f24defe6d26c7c06ffa3cce.zip |
Don't proceed with cmd_msg if there was an error splitting msg
There may be cases (such as if target or server->nick is very long)
where the split_message function returns NULL, indicating an error. To
avoid a potential segfault, we now check to see if splitmsgs is NULL.
Diffstat (limited to 'irssi-version.sh')
0 files changed, 0 insertions, 0 deletions