linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-developers] Linphone Desktop causes crash on text message when


From: address@hidden
Subject: [Linphone-developers] Linphone Desktop causes crash on text message when LIME is set to preferred
Date: Thu, 12 Jan 2017 16:02:12 +0100

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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]