Skip to content

ROX-28258: Fix segfault when calling deactivate on stopped TLS issuer#14429

Merged
vladbologa merged 1 commit intomasterfrom
vb/ROX-28258-tlsissuer-segfault
Feb 27, 2025
Merged

ROX-28258: Fix segfault when calling deactivate on stopped TLS issuer#14429
vladbologa merged 1 commit intomasterfrom
vb/ROX-28258-tlsissuer-segfault

Conversation

@vladbologa
Copy link
Contributor

@vladbologa vladbologa commented Feb 27, 2025

Description

#13596 introduced a segmentation fault, when calling deactivate() on a TLS issuer that is not started.

User-facing documentation

  • CHANGELOG is updated OR update is not needed
  • documentation PR is created and is linked above OR is not needed

Testing and quality

  • the change is production ready: the change is GA or otherwise the functionality is gated by a feature flag
  • CI results are inspected

Automated testing

  • added unit tests
  • added e2e tests
  • added regression tests
  • added compatibility tests
  • modified existing tests

How I validated my change

Added a unit test that is crashing without the change.

@vladbologa vladbologa requested a review from a team as a code owner February 27, 2025 13:01
@vladbologa vladbologa changed the title ROX-28258: Fix segfault on Stop on stopped TLS issuer ROX-28258: Fix segfault when calling deactivate() on stopped TLS issuer Feb 27, 2025
@vladbologa vladbologa requested a review from lvalerom February 27, 2025 13:02
@vladbologa vladbologa changed the title ROX-28258: Fix segfault when calling deactivate() on stopped TLS issuer ROX-28258: Fix segfault when calling deactivate on stopped TLS issuer Feb 27, 2025
Copy link
Contributor

@lvalerom lvalerom left a comment

Choose a reason for hiding this comment

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

Thanks for the quick fix!

@rhacs-bot
Copy link
Contributor

Images are ready for the commit at b2564d6.

To use with deploy scripts, first export MAIN_IMAGE_TAG=4.8.x-109-gb2564d6b0f.

@codecov
Copy link

codecov bot commented Feb 27, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 49.04%. Comparing base (40e9e9d) to head (b2564d6).
Report is 4 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #14429   +/-   ##
=======================================
  Coverage   49.04%   49.04%           
=======================================
  Files        2521     2521           
  Lines      183398   183398           
=======================================
+ Hits        89941    89942    +1     
- Misses      86336    86337    +1     
+ Partials     7121     7119    -2     
Flag Coverage Δ
go-unit-tests 49.04% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@vladbologa vladbologa merged commit 1df8784 into master Feb 27, 2025
87 of 93 checks passed
@vladbologa vladbologa deleted the vb/ROX-28258-tlsissuer-segfault branch February 27, 2025 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants