Skip to content

Conversation

ovidiusas
Copy link
Member

Summary
Fix crash on module initialization during the connection setup.

Details
The uri structure in the connection params has pointers to char and we need to update the value of the pointer instead of copying the whole string to the uninitialized address 0x0.

Solution
Instead of making a memory copy, we need to just update the pointer.

@ovidiusas ovidiusas added the bug label Sep 22, 2025
@razvancrainea razvancrainea self-assigned this Sep 23, 2025
@razvancrainea razvancrainea merged commit 7d998c6 into OpenSIPS:master Oct 9, 2025
86 checks passed
razvancrainea pushed a commit that referenced this pull request Oct 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants