Skip to content

filterx-func-parse-csv: fix crash if column variable is non-existent#819

Merged
alltilla merged 3 commits intoaxoflow:mainfrom
OverOrion:fix/parse_csv_invalid_column
Oct 10, 2025
Merged

filterx-func-parse-csv: fix crash if column variable is non-existent#819
alltilla merged 3 commits intoaxoflow:mainfrom
OverOrion:fix/parse_csv_invalid_column

Conversation

@OverOrion
Copy link
Contributor

This happened as the csv_scanner_options_clean() function was called on
uninitalized local_opts.

OverOrion added a commit to OverOrion/axosyslog that referenced this pull request Oct 10, 2025
Signed-off-by: Szilard Parrag <[email protected]>
@OverOrion OverOrion marked this pull request as ready for review October 10, 2025 11:32
alltilla
alltilla previously approved these changes Oct 10, 2025
OverOrion added a commit to OverOrion/axosyslog that referenced this pull request Oct 10, 2025
Signed-off-by: Szilard Parrag <[email protected]>
@OverOrion OverOrion force-pushed the fix/parse_csv_invalid_column branch from 17d608b to faf3ea5 Compare October 10, 2025 11:37
OverOrion added a commit to OverOrion/axosyslog that referenced this pull request Oct 10, 2025
Signed-off-by: Szilard Parrag <[email protected]>
@OverOrion OverOrion force-pushed the fix/parse_csv_invalid_column branch from faf3ea5 to 095aaf4 Compare October 10, 2025 11:39
…-existent

This happened as the csv_scanner_options_clean() function was called on
uninitalized local_opts.

Signed-off-by: Szilard Parrag <[email protected]>
Signed-off-by: Szilard Parrag <[email protected]>
@OverOrion OverOrion force-pushed the fix/parse_csv_invalid_column branch from 095aaf4 to 802b3c7 Compare October 10, 2025 11:42
Copy link
Contributor

@MrAnno MrAnno left a comment

Choose a reason for hiding this comment

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

We had compiler warnings for such jumps. It's weird we no longer have them.

@alltilla alltilla merged commit 17da7f4 into axoflow:main Oct 10, 2025
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants