8000 RawTable fmt::Debug implementation can overflow stack · Issue #90 · kyren/piccolo · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

RawTable fmt::Debug implementation can overflow stack #90

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

Open
jihiggins opened this issue Jul 26, 2024 · 0 comments · May be fixed by #100
Open

RawTable fmt::Debug implementation can overflow stack #90

jihiggins opened this issue Jul 26, 2024 · 0 comments · May be fixed by #100

Comments

@jihiggins
Copy link
jihiggins commented Jul 26, 2024

When printing a table with {:?}, if it has __index set to itself, it overflows the stack by recursively printing itself

Not entirely sure what the desired behavior should be, especially since the cycles probably won't always be that simple? But right now, debug printing the wrong thing will cause it to crash 😬

ahmedcharles added a commit to ahmedcharles/piccolo that referenced this issue Nov 21, 2024
@ahmedcharles ahmedcharles linked a pull request Nov 21, 2024 that will close this issue
ahmedcharles added a commit to ahmedcharles/piccolo that referenced this issue Dec 3, 2024
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 a pull request may close this issue.

1 participant
0