-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
ext_proc filter fuzzer crashed when test cases contains regex config #27301
Conversation
…ex config. Signed-off-by: Yanjun Xiang <yanjunxiang@google.com>
Envoy crashed with below tracebacks: #26898 REDUCE cov: 28538 ft: 44719 corp: 840/676Kb lim: 4096 exec/s: 426 rss: 613Mb L: 699/3927 MS: 1 Custom-
NOTE: libFuzzer has rudimentary signal handlers. |
With below Envoy fuzzer test cases: cat ~/yanjunxiang/crash-2f5c31257230464b4b6015ecee3f6f090547fb0a |
/assign @yanavlasov @adisuissa |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks change LGTM.
One question: is this initialization needs to be executed on every fuzz-case run, or can it be done once?
I haven't thought through how to share this across different fuzz runs. However, these operations appears to be pretty light, so probably not worth to share them anyway. |
…nvoyproxy#27301) Envoy ext_proc filter fuzzer run crashed when test cases contains regex config. Signed-off-by: Yanjun Xiang <yanjunxiang@google.com>
…nvoyproxy#27301) Envoy ext_proc filter fuzzer run crashed when test cases contains regex config. Signed-off-by: Yanjun Xiang <yanjunxiang@google.com> Signed-off-by: Ryan Eskin <ryan.eskin89@protonmail.com>
ext_proc filter fuzzer crashed when test cases contains regex config.
This is due to the ext_proc filter fuzzer is lacking the regex engine creation in its initialization sequence.
Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]