Skip to content

TELECOM-11229: 3.4 upstream merge #101

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 314 commits into
base: 3.4-genesys
Choose a base branch
from
Draft

Conversation

benceszigeti
Copy link
Collaborator

No description provided.

liviuchircu and others added 30 commits May 10, 2024 14:24
Reason: this file was slowly becoming more and more outdated and was
ultimately removed in 8292659, in favour of the opensips.org listing.

Fixes OpenSIPS#3375

(cherry picked from commit 5f3baea)
When getline() returns -1, the @lineptr argument is never safe to read,
nor is this recommended.  So when both rc == -1 and EOF conditions
occur, it is safe to assume we read 0 bytes, without doing the strlen().

Many thanks to Dhiraj Mishra (@RandomDhiraj) for detecting, documenting
and reporting the potential risk of a heap buffer overflow here!

(cherry picked from commit 50b651c)
Many thanks to Voxtronic for spotting this issue!

(cherry picked from commit f963350)
The auto-reconnect feature of libmysqlclient has been deprecated
starting with version 8.0.34 and is subject to future removal.
Moreover, OpenSIPS was explicitly disabling it anyway on startup, in
favour of the "max_db_queries" application-level query retrying loop.

(cherry picked from commit 39f056b)
Fix `perl_exec_simple` memory leak
Update b2b_logic_admin.xml

(cherry picked from commit e22e9c5)
Update b2b_logic_admin.xml

(cherry picked from commit 909ac1b)
The SHM lock is NULL at that point, so use shm_free_unsafe() instead.

(cherry picked from commit d076141)
The module does not exist anymore
The code was searching for the " from " string chunk in the query but
in a case-sensitive manner (??), causing formatted queries (e.g. " FROM
") to fail.

Credits to Eric Tamme (@etamme) for spotting and reporting the issue

Fixes OpenSIPS#3409

(cherry picked from commit 388d4fa)
Close OpenSIPS#3287 and OpenSIPS#3293

(cherry picked from commit fb4402d)
This fix prevents crashes generated when the B2B module is loaded, but
tracing is done at the transaction layer - since the transaction layer
was setting the same flag, B2B tracing was also engaged, but without the
necessary structures, leading to crashes.

(cherry picked from commit efc2552)
If the berkeley package is not build, we should not run its stubs, as
they result in errors.

Thanks go to Richard Revels (@rrevels-bw on GitHub) for reporting it.
Close OpenSIPS#3389

(cherry picked from commit 2fba04a)
Many thanks to Liviu Chircu for spotting the issue

(cherry picked from commit 90c9b78)
(cherry picked from commit 1c3139a)
(cherry picked from commit 80bee9b)
razvancrainea and others added 22 commits March 10, 2025 18:27
(cherry picked from commit 619ee7b)
Ensure proper memory deallocation in case of parsing errors in parse_msg()

(cherry picked from commit 6ba378a)
…thinfo

Preserving the flags of the topology_hiding in non dialog mode in thi…
Fully zeroize the (str), avoid leaving a dangling pointer.

Credits to Steve Frecinaux for the report!

(cherry picked from commit d554d96)
sipmsgops: fix warning: ‘*’ may be used uninitialized [-Wmaybe-uninit…
(cherry picked from commit aef5507)
This is a side effect of e00f63e.
The t_foraward_nonack() doesn;t internally need the T (as it take the transaction as parameter), but it triggers the branch route, where you may use different functions which do need the T.

(cherry picked from commit e2b6b02)
This fixes a bug in media_exchange where a reply callback is called
multiple times for retransmissions, unreffing the session multiple
times.

(cherry picked from commit 6d0f9e5)
If an integer is returned, the buffer is no longer available, thus if it
will be used as a string next time, it will crash.

Completes OpenSIPS#3135

(cherry picked from commit 2a28d96)
This is a complition to af754d9
In receive_msg(), even upon a parse error, we need the cripled msg to be passed to "error" handling callbacks (like pike or error_route).

(cherry picked from commit 1ad77d2)
Also, if the route is not in found, do not run in sync, but rather run the cmd still in async mode, but without triggering the route.

(cherry picked from commit f3b33c4)
@benceszigeti benceszigeti added the upstream merge Upstream merge label Apr 16, 2025
@benceszigeti benceszigeti self-assigned this Apr 16, 2025
@benceszigeti benceszigeti marked this pull request as draft April 17, 2025 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upstream merge Upstream merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.