aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_bitcoin.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2017-02-26 21:08:26 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2017-02-27 10:03:20 +0100
commit19cafc6239abd14f2b9c3d883dc7df0472cac52b (patch)
tree533c6b65eb58d792750f0daf49b751924a0b1761 /src/test/test_bitcoin.h
parent0a177148e7dbac2e88ddc142f0ef10c6a4de8ec8 (diff)
test: Replace remaining sprintf with snprintf
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](https://github.com/NuxiNL/cloudlibc) don't even provide it anymore. Although our uses of these functions are secure, it can't hurt to replace them anyway. There are only 3 occurences left, all in the tests.
Diffstat (limited to 'src/test/test_bitcoin.h')
0 files changed, 0 insertions, 0 deletions