Page MenuHomePhabricator

tests: Abort if malloc() fails during context cloning tests
ClosedPublic

Authored by deadalnix on Sep 27 2020, 22:44.

Details

Summary

Found by the clang static analyzer.

This is the worst true positive that it found. I feel somewhat proud.

This is a backport of libsecp256k1 PR774

Test Plan
ninja check-secp256k1

Diff Detail

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

Event Timeline

[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 27 2020, 23:06
This revision was landed with ongoing or failed builds.Sep 27 2020, 23:08
This revision was automatically updated to reflect the committed changes.