Steps to reproduce (Tested on SuseLeap 42.2):
-Start linphone desktop version
-set network LIME to preferred
-Type text message to a recipient that has no encryption token.
-click send button
Thread 1 "linphone" received signal SIGSEGV, Segmentation fault.
0x00007ffff090e960 in belle_sip_header_address_get_uri () from lib64/libbellesip.so.0
The cause is in chat.c line 420: If the message cannot be encrypted, _linphone_chat_room_send_message returns immediately
and leaves msg->from as a NULL pointer, because line 450 is never reached.
Later, belle_sip_header_address_get_uri dereferences this NULL pointer, causing the SIGSEGV.