forked from OpenSIPS/opensips
-
Notifications
You must be signed in to change notification settings - Fork 4
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
benceszigeti
wants to merge
314
commits into
3.4-genesys
Choose a base branch
from
TELECOM-11229
base: 3.4-genesys
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)
(cherry picked from commit 7f12c44)
(cherry picked from commit 64c0042)
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)
Reported by @InnovateAsterisk Closes OpenSIPS#3405 (cherry picked from commit 9308abc)
The module does not exist anymore
(cherry picked from commit 1768d65)
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)
(cherry picked from commit 0091ab4)
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)
(cherry picked from commit 675db4c)
(cherry picked from commit db99d0e)
(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)
(cherry picked from commit d40b04e)
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)
(cherry picked from commit 8c16de4)
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)
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)
(cherry picked from commit 2a761a7)
… in `cgrates` module (31b5485)
This reverts commit d279257.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.