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

Improper table functionality can cause massive memory allocations #53

Open
RaspyPiStyLiS opened this issue Sep 11, 2021 · 0 comments
Open
Labels
bug Something isn't working glua Regarding gopher-lua

Comments

@RaspyPiStyLiS
Copy link

Using the following script

local tbl = {}
tbl[0] = {}
tbl[0][9999999] = true

Causes a massive allocation, I believe this is cause the lua VM doesn't correctly implement tables according to the lua spec.

@Anaminus Anaminus added bug Something isn't working glua Regarding gopher-lua labels Sep 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working glua Regarding gopher-lua
Projects
None yet
Development

No branches or pull requests

2 participants