Skip to content

Check for duplicate field names in zeek_tsv_parser #3578

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

Merged
merged 1 commit into from
Oct 18, 2023

Conversation

eliaskosunen
Copy link
Contributor

Fixes https://github.com/tenzir/issues/issues/933

We don't expect valid Zeek TSV data to ever contain duplicate field names, so if we encounter some, we can error with good conscience. Without this fix, there's a crash later on.

@eliaskosunen eliaskosunen added bug Incorrect behavior engine Core pipeline and storage engine labels Oct 16, 2023
Copy link
Contributor

@jachris jachris left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a changelog entry for this bug fix. Thanks ✨

@eliaskosunen eliaskosunen force-pushed the topic/zeek-tsv-duplicate-fields branch from 709418d to 0d25dd5 Compare October 17, 2023 08:24
@eliaskosunen eliaskosunen marked this pull request as ready for review October 17, 2023 08:24
@eliaskosunen eliaskosunen force-pushed the topic/zeek-tsv-duplicate-fields branch from 0d25dd5 to 4b5574c Compare October 17, 2023 08:44
@eliaskosunen eliaskosunen force-pushed the topic/zeek-tsv-duplicate-fields branch from 4b5574c to ee36ea7 Compare October 18, 2023 07:25
@eliaskosunen eliaskosunen merged commit 92f2d84 into main Oct 18, 2023
@eliaskosunen eliaskosunen deleted the topic/zeek-tsv-duplicate-fields branch October 18, 2023 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Incorrect behavior engine Core pipeline and storage engine
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants