Skip to content

Support batch allocation of control_t with zmq_msg_init_data #2795

@sigiesec

Description

@sigiesec

We are using zmq_msg_init_data to create messages since we allocate the underlying buffers using a pool to avoid dynamic memory allocation. However, this is defeated by the implementation of zmq_msg_init_data using malloc for its control_t structure.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions