Skip to content
Snippets Groups Projects

Resolve "AlgContextSvc may dereference a nullptr"

Merged Marco Clemencic requested to merge 304-algcontextsvc-may-dereference-a-nullptr into master
All threads resolved!

Return a static empty instance if the thread local instance of the list of algorithms was never created.

I took the occasion to clean up a bit (merge .h and .cpp, remove pointless comments, ...) and add a basic unit test to validate the implementation.

Closes #304 (closed)

Edited by Marco Clemencic

Merge request reports

Pipeline #7323500 passed

Pipeline passed for d2f64119 on 304-algcontextsvc-may-dereference-a-nullptr

Merged by Marco ClemencicMarco Clemencic 11 months ago (May 7, 2024 9:59am UTC)

Merge details

Pipeline #7346662 passed

Pipeline passed for 68e128f2 on master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading