Skip to content

Fix a crash where config handlers were built with missing binaries#4241

Merged
bruntib merged 1 commit into
Ericsson:masterfrom
Szelethus:fix_no_checker_enabled_crash
May 16, 2024
Merged

Fix a crash where config handlers were built with missing binaries#4241
bruntib merged 1 commit into
Ericsson:masterfrom
Szelethus:fix_no_checker_enabled_crash

Conversation

@Szelethus
Copy link
Copy Markdown
Contributor

Original patch (that itroduces the crash):
#4179
Revert attempt in #4238.

The crash occurs because the original patch tries to create config handlers even if they are not supported. This is playing with fire already, but the crash occured when not even the analyzer binary is found.

In this patch, these analyzers are skipped from checking if they have any checkers enabled.

Original patch (that itroduces the crash):
Ericsson#4179
Revert attempt in Ericsson#4238.

The crash occurs because the original patch tries to create config
handlers even if they are not supported. This is playing with fire
already, but the crash occured when not even the analyzer binary is
found.

In this patch, these analyzers are skipped from checking if they have
any checkers enabled.
@Szelethus Szelethus added this to the release 6.24.0 milestone May 8, 2024
@Szelethus Szelethus requested a review from whisperity May 8, 2024 11:50
@Szelethus Szelethus requested review from bruntib and vodorok as code owners May 8, 2024 11:50
@whisperity whisperity added the analyzer 📈 Related to the analyze commands (analysis driver) label May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

analyzer 📈 Related to the analyze commands (analysis driver) bugfix 🔨

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants