Compare commits

...

4 Commits

Author SHA1 Message Date
Oliver Smith
46ab31c377 Bump version: 1.9.1.1-6c87a → 1.9.2
Change-Id: Icae11e2065545904163882dd2c650ff670425c15
2023-05-26 14:57:36 +02:00
Oliver Smith
6c87ac9af3 systemd: depend on networking-online.target
Related: SYS#6400
Change-Id: Ib6c78c76c5f13b9482428ce653a61b03b2aca1d3
2023-05-26 14:57:18 +02:00
Harald Welte
23c623b487 Bump version: 1.9.0.1-1a099 → 1.9.1
Change-Id: I8801d482858f4c9f44f9d320e4393e8fab43b58f
2022-04-18 10:58:50 +02:00
Vadim Yanitskiy
1a099fd34c libosmo-mgcp: e1: fix memleaks in e1_recv_cb()
Change-Id: I4be9e6d09b34e792f24c9f09d19dce15b9dfbe3f
Fixes: OS#5533
2022-04-18 10:57:08 +02:00
3 changed files with 19 additions and 0 deletions

View File

@@ -1,5 +1,7 @@
[Unit]
Description=Osmocom Media Gateway (MGW)
After=network-online.target
Wants=network-online.target
[Service]
Type=simple

13
debian/changelog vendored
View File

@@ -1,3 +1,16 @@
osmo-mgw (1.9.2) unstable; urgency=medium
* systemd: depend on networking-online.target
-- Oliver Smith <osmith@sysmocom.de> Fri, 26 May 2023 14:57:36 +0200
osmo-mgw (1.9.1) unstable; urgency=medium
[ Vadim Yanitskiy ]
* libosmo-mgcp: e1: fix memleaks in e1_recv_cb()
-- Harald Welte <laforge@osmocom.org> Mon, 18 Apr 2022 10:58:50 +0200
osmo-mgw (1.9.0) unstable; urgency=medium
[ Harald Welte ]

View File

@@ -338,6 +338,7 @@ static void e1_recv_cb(struct e1inp_ts *ts, struct msgb *msg)
trunk = mgcp_trunk_by_line_num(cfg, ts->line->num);
if (!trunk) {
LOGP(DE1, LOGL_ERROR, "E1-RX: unable to find a trunk for E1-line %u!\n", ts->line->num);
msgb_free(msg);
return;
}
@@ -359,6 +360,9 @@ static void e1_recv_cb(struct e1inp_ts *ts, struct msgb *msg)
/* Trigger sending of pending E1 traffic */
e1_send(ts, trunk);
/* e1inp_rx_ts() does not free() msgb */
msgb_free(msg);
}
static int e1_init(struct mgcp_trunk *trunk, uint8_t ts_nr)