[Top][All Lists]

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

[Linphone-developers] Invalid encoding of STUN ERROR-CODE attribute

From: Jeremy Lainé
Subject: [Linphone-developers] Invalid encoding of STUN ERROR-CODE attribute
Date: Thu, 20 Jul 2017 09:55:25 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1


While investigating a FreeSwitch crash that occurred upon receiving STUN
packets from linphone (as part of the ICE negotiation), I noticed that
linphone was sending malformed STUN packets.

The problem is that the "reason" string (in this case: "Role Conflict")
was not padded to align to a 32-bit boundary.

I have tracked this down to the encode_error_code method in
mediastreamer2. I have submitted a pull request here:

Please let me know if I can provide additional information.



reply via email to

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