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

Events data cannot be unpacked if data is too long (table_unpack error) #2310

Closed
someone005 opened this issue Dec 20, 2023 · 0 comments
Closed
Labels
bug crash ScRT: Lua Issues/PRs related to the Lua scripting runtime

Comments

@someone005
Copy link
Contributor

someone005 commented Dec 20, 2023

What happened?

When script sends data using TriggerServerEvent that is (probably) 1000 characters or more long table_unpack is crashing with error "SCRIPT ERROR: attempt to get length of a nil value".

Expected result

Event data should be unpacked properly and passed to event handler

Reproduction steps

Send any server event with 1000 characters or more

Importancy

Crash

Area(s)

ScRT: Lua

Specific version(s)

7257

Additional information

_No response

@someone005 someone005 added bug triage Needs a preliminary assessment to determine the urgency and required action labels Dec 20, 2023
@github-actions github-actions bot added crash ScRT: Lua Issues/PRs related to the Lua scripting runtime labels Dec 20, 2023
@someone005 someone005 closed this as not planned Won't fix, can't repro, duplicate, stale Jan 20, 2024
@github-actions github-actions bot removed the triage Needs a preliminary assessment to determine the urgency and required action label Jan 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug crash ScRT: Lua Issues/PRs related to the Lua scripting runtime
Projects
None yet
Development

No branches or pull requests

1 participant