aboutsummaryrefslogtreecommitdiff
path: root/src/httpserver.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2017-02-26 21:08:26 +0100
committerWladimir J. van der Laan <[email protected]>2017-02-27 10:03:20 +0100
commit19cafc6239abd14f2b9c3d883dc7df0472cac52b (patch)
tree533c6b65eb58d792750f0daf49b751924a0b1761 /src/httpserver.cpp
parentuint256: replace sprintf with HexStr and reverse-iterator (diff)
downloaddiscoin-19cafc6239abd14f2b9c3d883dc7df0472cac52b.tar.xz
discoin-19cafc6239abd14f2b9c3d883dc7df0472cac52b.zip
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/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions