Skip to content

Check size of argument#597

Merged
sjaeckel merged 1 commit intolibtom:developfrom
czurnieden:subin_check
Apr 20, 2026
Merged

Check size of argument#597
sjaeckel merged 1 commit intolibtom:developfrom
czurnieden:subin_check

Conversation

@czurnieden
Copy link
Copy Markdown
Contributor

An input of size == 0 will cause a wrap-around when a one is subtracted later which itself will grab a very large amount of memory.

@sjaeckel sjaeckel merged commit ae40a87 into libtom:develop Apr 20, 2026
100 checks passed
@sjaeckel sjaeckel linked an issue Apr 20, 2026 that may be closed by this pull request
@sjaeckel
Copy link
Copy Markdown
Member

Thanks! :)

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

mp_from_sbin size check

2 participants