Investigation on inappropriate use of panic-recover paradigm #4886
Labels
Type: Bug
Inconsistencies or issues which will cause an issue or problem for users or implementors.
Milestone
Nuclei version:
main|dev
Current Behavior:
Almost all protocols executions are wrapped within panic-recover, which in fact turns most of runtime fatal crashes into runtime silent errors never reported, and hence fixed, if verbose mode is not specified. This also has unexpected effects if for any reason the panic is triggered within any external callback function in caller code.
Expected Behavior:
The panic-recover paradigm should be either optional unless scoped properly in those code paths that should keep running even on fatal errors (eg. third party library panicking on internal "fatal" errors which are not fatal for the caller execution). The task is about investigating if a better scoping is possible and more effective.
The text was updated successfully, but these errors were encountered: