diff options
author | Michael Vetter <jubalh@iodoru.org> | 2020-04-08 17:12:16 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2020-04-11 16:05:14 +0200 |
commit | e878b6d266fba2ce8dfabedcbb83163d7ec75178 (patch) | |
tree | 7ea1a63e0ad38461dfc2c6a1611fc680bcf7ee11 /src/xmpp/chat_session.c | |
parent | fe9b520c42ad404dee6137fc5c0937a6bd30bbc4 (diff) | |
download | profani-tty-e878b6d266fba2ce8dfabedcbb83163d7ec75178.tar.gz |
Don't crash if we get a message without from or type
MAM messages don't have a type nor a from. If we detect a message without type let's log it and exit without continuing to try to parse it. Otherwise we go into _handle_chat() and crash on the no from.
Diffstat (limited to 'src/xmpp/chat_session.c')
0 files changed, 0 insertions, 0 deletions