-
Notifications
You must be signed in to change notification settings - Fork 924
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
dnsdist segfaults when using a luafunction which doesn't exist #15173
Comments
I don't think we should crash on this kind of configuration error, and I can indeed reproduce the issue:
I'm unsure whether I can actually fix it from DNSdist, though, but I'll look into it. |
We crash in LuaWrapper indeed, while trying to access the traceback:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Short description
When using a non-existing function in a LuaAction(), dnsdist segfaults
Environment
Steps to reproduce
crash_config.conf
:(Note the typo:
errorlog()
doesn't exist.errlog()
does.)dnsdist -C crash_config.conf
dig github.com @localhost
)Expected behaviour
Not crash
Actual behaviour
Segfaults
The text was updated successfully, but these errors were encountered: