Skip to content
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

fix(risklevel): delete user defined environments may cause NPE due to the detect rule could be null #4191

Merged
merged 3 commits into from
Jan 21, 2025

Conversation

MarkPotato777
Copy link
Collaborator

What type of PR is this?

type-bug

What this PR does / why we need it:

The RiskDetectRule.rootNode could be null, but the caller side does not consider it, which may cause NPE.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Additional documentation e.g., usage docs, etc.:


@MarkPotato777 MarkPotato777 added the type-bug Something isn't working label Jan 21, 2025
@MarkPotato777 MarkPotato777 added this to the ODC4.3.3-bp1 milestone Jan 21, 2025
@MarkPotato777 MarkPotato777 self-assigned this Jan 21, 2025
@MarkPotato777 MarkPotato777 merged commit bad995a into dev/4.3.3 Jan 21, 2025
7 checks passed
@MarkPotato777 MarkPotato777 deleted the lebie_433bp1_fix_risk_detect_rule_0121 branch January 21, 2025 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug Something isn't working
Projects
Status: Developed
Development

Successfully merging this pull request may close these issues.

2 participants