[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sr-dev
Subject:    [sr-dev] git:master:fe7d7c57: core: improve an existing data structures cloning in the SDP parser
From:       Victor Seva <linuxmaniac () torreviejawireless ! org>
Date:       2022-02-28 8:13:27
Message-ID: E1nOb9r-0005LK-W4 () www ! kamailio ! org
[Download RAW message or body]

Module: kamailio
Branch: master
Commit: fe7d7c571b6c8d446cf66a1cf27d335d98f5f945
URL: https://github.com/kamailio/kamailio/commit/fe7d7c571b6c8d446cf66a1cf27d335d98f5f945

Author: Donat Zenichev <dzenichev@sipwise.com>
Committer: Victor Seva <linuxmaniac@torreviejawireless.org>
Date: 2022-02-28T09:13:21+01:00

core: improve an existing data structures cloning in the SDP parser

It's been noticed that the cloning of SDP session(s) and
SDP stream(s) structures doesn't allocate the ICE candidate attributes,
nor it allocates (recently introduced) ICE media stream options.

In order to target this a couple of new functions have been introduced:
- clone_sdp_opt_attr()
- clone_sdp_ice_attr()

And additionally the following functions have been improved, in order to
properly clone/free ICE candidate attributes and (recently introduced)
ICE media stream options:
- clone_sdp_stream_cell()
- free_cloned_sdp_stream()
- free_sdp()
- print_sdp_stream()

Additionally for a proper new structure length calculation, the following
function is fixed:
- clone_sdp_session_cell()

---

Modified: src/core/parser/sdp/sdp.c

---

Diff:  https://github.com/kamailio/kamailio/commit/fe7d7c571b6c8d446cf66a1cf27d335d98f5f945.diff
Patch: https://github.com/kamailio/kamailio/commit/fe7d7c571b6c8d446cf66a1cf27d335d98f5f945.patch


_______________________________________________
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic