-
Notifications
You must be signed in to change notification settings - Fork 0
Crash fixes #491
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
base: dev
Are you sure you want to change the base?
Crash fixes #491
Conversation
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||
PR Type
Bug fix
Description
Guard null pointer dereferences across multiple command features
Replace unsafe
firstAncestorOrThisOfTypeAsserted()calls with null checksAdd null checks for viewer, viewerCommands, and ownerCase pointers
Consolidate repeated pointer lookups into single variables
Diagram Walkthrough
File Walkthrough
21 files
Guard activeReservoirView null pointerGuard viewer and ownerCase pointer accessReplace asserted cast with null checkReplace asserted cast with null checkGuard view3d pointer before accessReplace asserted cast with null checkReplace asserted cast with null checkReplace asserted cast with null checkGuard sourceObject null pointerGuard sourceObject null pointerGuard fracture pointer before accessGuard ownerCase pointer accessGuard crossPlot null pointerConsolidate pointer lookups with null checksGuard viewer and viewerCommands pointersGuard viewer and viewerCommands pointersGuard viewer pointer before accessGuard activeReservoirView pointer accessGuard ownerCase pointer with fallbackConsolidate measurement pointer lookupGuard summaryCase pointer before use