Skip to content

Limit pre-alloc size #5

@vlopes11

Description

@vlopes11

Currently, the implementation trusts the provided message and pre-alloc bytes before reading the buffer.

The implementation should either pre-alloc if, and only if, the reader is guaranteed to have enough bytes, or pre-alloc smaller amounts.

Naive pre-alloc may allow malicious users to DDoS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions