cloudflare / wirefilter

An execution engine for Wireshark-like filters
https://blog.cloudflare.com/building-fast-interpreters-in-rust/
MIT License
958 stars 85 forks source link

Don't panic on missing subexpressions #73

Open jefftt opened 3 years ago

jefftt commented 3 years ago

Hi! Thanks for the project, currently Filter#execute will panic with thread 'main' panicked at 'Field xxx was registered but not given a value', if a field in the Scheme is not set on the ExecutionContext. This PR changes it so that instead it will not match the ExecutionContext (i think).