Project

General

Profile

Bug #3673

chopped LCO

Added by dexter 20 days ago. Updated 20 days ago.

Status:
In Progress
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
10/26/2018
Due date:
% Done:

90%


Description

(see trace) The codec name that that is transmitted in the LCO of the first CRCX is expected to re-appear in the SDP of the following 200 OK message. When inspecting the SDP of the following/second message, one can see that the last character of the codec name is missing. Since such a behavior can not observed when the codec was transmitted via SDP, the problem presumably is in the LCO parser.

trace_chopped_lco.pcapng trace_chopped_lco.pcapng 4.21 KB dexter, 10/26/2018 12:20 PM

History

#1 Updated by dexter 20 days ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 90

I managed to pinpoint the problem. The LCO parser used a very tight buffer. 8 chars may seem to be enough for most codec names, GSM-HR-08 is 9 chars long. I think doubling the buffer will offer enough space for all codec names.

https://gerrit.osmocom.org/#/c/osmo-mgw/+/11466 mgcp_protocol: increase buffer space for codec name in LCO

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)