Page MenuHomePhabricator

[backport#14268] Introduce SafeDbt to handle DB_DBT_MALLOC raii-style
ClosedPublic

Authored by majcosta on Sep 2 2020, 19:36.

Details

Summary

This provides additional exception-safety and case handling for the proper
freeing of the associated buffers.

https://github.com/bitcoin/bitcoin/pull/14268/commits/1a9f9f7e5e2e73fb832f5b96ad7e9e57954f3f3c


Depends on D7321

Partial backport of Core PR14268

Test Plan
ninja check check-functional

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

majcosta requested review of this revision.Sep 2 2020, 19:36

[Bot Message]
One or more PR numbers were detected in the summary.
Links to those PRs have been inserted into the summary for reference.

This revision is now accepted and ready to land.Sep 2 2020, 19:53