Skip to content

[mod_amqp] implement dynamic mem alloc for longer messages to prevent buffer overflow#2982

Open
mahald wants to merge 1 commit intosignalwire:masterfrom
mahald:mod_amqp_dynamic_len
Open

[mod_amqp] implement dynamic mem alloc for longer messages to prevent buffer overflow#2982
mahald wants to merge 1 commit intosignalwire:masterfrom
mahald:mod_amqp_dynamic_len

Conversation

@mahald
Copy link
Contributor

@mahald mahald commented Jan 31, 2026

Description

[mod_amqp]

Under some circumstances such as for example long inline dialplans with parallel ringings that need to set several variables per leg using mod_amqp it could happen that the fixed buffer is too small to retrieve the message. This could lead to errors and a buffer overflow.

To prevent this we implement a dynamic allocation of if the message is bigger then the current fixed buffer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants