Project

General

Profile

Actions

Bug #5169

closed

ctrl_cmd_make crash MSC

Added by tompsonKo almost 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
libosmoctrl
Target version:
-
Start date:
06/03/2021
Due date:
% Done:

100%

Spec Reference:

Description

When I try to get a list of users (70+) through the MSC control interface with the "subscriber-list-active-v1" function, the service crashes with message "Not enough tailroom msgb_put ..."

Problem in https://github.com/osmocom/libosmocore/blob/442ff64ad4b27864a0259681b53e5607b9aadfe7/src/ctrl/control_cmd.c#L526

msg = msgb_alloc_headroom(4096, 128, "ctrl command make");

4096 is not enough

Can we change the constant to a dynamic value and won't it affect anything in other places?


Related issues

Has duplicate OsmoMSC - Bug #5175: CTRL command crashes osmo-msc (libosmocore)Rejected06/10/202106/11/2021

Actions
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)