Skip to content

ensureCapacity and large memory allocations #30

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.

Activity

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

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