From notifications@github.com Tue Apr 30 10:21:22 2024 From: Sven Uhlig To: sr-dev@lists.kamailio.org Subject: [sr-dev] [kamailio/kamailio] possible memory corruption in sipcapture module (Issue #3835) Date: Tue, 30 Apr 2024 03:21:11 -0700 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0877121300==" --===============0877121300== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable ### Description We send HEP3 data to the UDP listener in kamailio. In this HEP3 data, there a= re SIP requests and replies. We want to route these SIP messages through `req= uest_route` and `onreply_route`. For this, we use the SipCapture module with = the following settings: ``` modparam("sipcapture", "db_url", DBURL) modparam("sipcapture", "capture_on", 1) modparam("sipcapture", "hep_capture_on", 1) modparam("sipcapture", "insert_retries", 0) modparam("sipcapture", "insert_retry_timeout", 0) request_route { xlog("L_INFO", "Got new request ($ci) $rm: $si =3D> $Ri\n"); } onreply_route { xlog("L_INFO", "Got new reply ($ci) $rm: $si =3D> $Ri - Reply Code $rs\n"); } ``` In the past (version kamailio 5.1.x - 5.4.x), this worked as expected. From t= he logs: ``` 2(8) INFO: