Skip to content

Conversation

@knst
Copy link
Collaborator

@knst knst commented Jan 30, 2023

It become a visible UB (crash) after backport bitcoin#19848

What was done?

Increased life-term for object under reference

How Has This Been Tested?

Run unit/functional tests with and without bitcoin#19848

Breaking Changes

No breaking changes

Checklist:

  • I have performed a self-review of my own code
  • I have assigned this pull request to a milestone

Copy link
Member

@PastaPastaPasta PastaPastaPasta left a comment

Choose a reason for hiding this comment

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

utACK for squash merge

Copy link

@UdjinM6 UdjinM6 left a comment

Choose a reason for hiding this comment

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

utACK

@PastaPastaPasta
Copy link
Member

PastaPastaPasta commented Jan 31, 2023

Please justify why this is a backport candidate?

justification

It's backport candidate because there is UB in code and it's just a pure luck, that it is not noticeable till now yet.
But it can start to crash if moon will change phase or someone will use newer/older version compiler or non-standard flags or whatever. (edited) 

@PastaPastaPasta PastaPastaPasta merged commit 9a03334 into dashpay:develop Jan 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants