fix: prevent potential nil pointer dereference#8756
Merged
mnencia merged 1 commit intocloudnative-pg:mainfrom Oct 10, 2025
Merged
fix: prevent potential nil pointer dereference#8756mnencia merged 1 commit intocloudnative-pg:mainfrom
mnencia merged 1 commit intocloudnative-pg:mainfrom
Conversation
Contributor
|
❗ By default, the pull request is configured to backport to all release branches.
|
1836afb to
736fabb
Compare
armru
approved these changes
Oct 9, 2025
mnencia
approved these changes
Oct 9, 2025
d76d692 to
2b79325
Compare
Member
|
/test |
Contributor
|
@mnencia, here's the link to the E2E on CNPG workflow run: https://github.com/cloudnative-pg/cloudnative-pg/actions/runs/18385443564 |
2b79325 to
4b26ec1
Compare
improve code to avoid panic Signed-off-by: Pascal Bourdier <pascal.bourdier@gmail.com>
4b26ec1 to
9b26391
Compare
cnpg-bot
pushed a commit
that referenced
this pull request
Oct 10, 2025
Prevent possible nil pointer dereference when an error occurs inside the hibernation reconciler. Signed-off-by: Pascal Bourdier <pascal.bourdier@gmail.com> (cherry picked from commit 5788e02)
cnpg-bot
pushed a commit
that referenced
this pull request
Oct 10, 2025
Prevent possible nil pointer dereference when an error occurs inside the hibernation reconciler. Signed-off-by: Pascal Bourdier <pascal.bourdier@gmail.com> (cherry picked from commit 5788e02)
cnpg-bot
pushed a commit
that referenced
this pull request
Oct 10, 2025
Prevent possible nil pointer dereference when an error occurs inside the hibernation reconciler. Signed-off-by: Pascal Bourdier <pascal.bourdier@gmail.com> (cherry picked from commit 5788e02)
THE-BRAHMA
pushed a commit
to THE-BRAHMA/cloudnative-pg
that referenced
this pull request
Oct 30, 2025
Prevent possible nil pointer dereference when an error occurs inside the hibernation reconciler. Signed-off-by: Pascal Bourdier <pascal.bourdier@gmail.com> Signed-off-by: theBrahma <office.utpal.brahma@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Prevent possible nil pointer dereference when an error occurs inside the hibernation reconciler.