diff options
author | Dmitry Podgorny <pasis.ua@gmail.com> | 2019-08-26 12:46:30 +0300 |
---|---|---|
committer | Dmitry Podgorny <pasis.ua@gmail.com> | 2019-08-26 12:46:30 +0300 |
commit | 8c69d7105b310ba34295cbdcbd4167fac731e649 (patch) | |
tree | 005e0735f33f5b278a25ce717ac13cf33f5ba408 /Makefile.am | |
parent | c100897c9d349d57927e005a9f1c15606268c728 (diff) | |
download | profani-tty-8c69d7105b310ba34295cbdcbd4167fac731e649.tar.gz |
Don't crash if source jid doesn't contain the node part
Profanity uses the node part of a JID as display name for a tab. If such a JID doesn't contain the node part, Profanity crashes on NULL pointer dereference. In the above case, use barejid which is just a domain. Fixes #1153.
Diffstat (limited to 'Makefile.am')
0 files changed, 0 insertions, 0 deletions