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

Allocating silently fails #196

Open
Rob23oba opened this issue Aug 24, 2024 · 0 comments
Open

Allocating silently fails #196

Rob23oba opened this issue Aug 24, 2024 · 0 comments

Comments

@Rob23oba
Copy link
Contributor

Allocating fails silently, i.e. without producing any error messages but causing potential memory corruption.
Test: ./porf -e "for (let i = 0; i < 65536 + 10; i++) { print({ i }); Porffor.printStatic('\n') }" (thanks for @BobVarioa for the test)
This test allocates memory up to 4 GB and then always returns the same address (4294901760) without producing any error message.

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

No branches or pull requests

1 participant