[Top][All Lists]

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

Re: [Linphone-developers] Linphone Desktop causes crash on text message

From: Sylvain Berfini
Subject: Re: [Linphone-developers] Linphone Desktop causes crash on text message when LIME is set to preferred
Date: Thu, 12 Jan 2017 17:06:43 +0100
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0

Hi Felix,

Thanks for reporting this issue, it is now fixed.

Also there was a problem with the Preferred policy causing it to behave exactly like it was Mandatory that I also fixed.

Best regards.

Sylvain Berfini
Software Engineer @ Belledonne Communications
Le 12/01/2017 à 16:02, address@hidden a écrit :
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/
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.

Linphone-developers mailing list

reply via email to

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