Skip to content

ensureCapacity and large memory allocations #30

Open
@laktech

Description

@laktech

ByteBitVector#ensureCapacity attempts to resize the byte buffer backing the vector as data is read from the input stream. A malformed request could trigger a large memory allocation. This should be avoided.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions