Page MenuHomePhabricator

test: Replace remaining sprintf with snprintf
ClosedPublic

Authored by Fabien on Mar 18 2019, 12:59.

Details

Summary

Use of sprintf is seen as a red flag as many of its uses are insecure.
OpenBSD warns about it while compiling, and some modern platforms, e.g.
cloudlibc from cloudabi don't
even provide it anymore.

Backport of core PR9867

Test Plan
make check

Diff Detail

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

Event Timeline

This revision is now accepted and ready to land.Mar 18 2019, 16:52
This revision was automatically updated to reflect the committed changes.