Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ensureCapacity and large memory allocations #30

Open
laktech opened this issue Mar 8, 2020 · 0 comments
Open

ensureCapacity and large memory allocations #30

laktech opened this issue Mar 8, 2020 · 0 comments
Labels

Comments

@laktech
Copy link
Collaborator

laktech commented Mar 8, 2020

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.

@laktech laktech added the v2 label Mar 8, 2020
ChristopherWirt pushed a commit to ChristopherWirt/iabtcf-java that referenced this issue Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant