diff options
| author | SChernykh <sergey.v.chernykh@gmail.com> | 2020-12-08 18:27:19 +0100 |
|---|---|---|
| committer | SChernykh <sergey.v.chernykh@gmail.com> | 2020-12-08 18:43:44 +0100 |
| commit | c0c75ac19d77a542abacd27796364c6518f7ae59 (patch) | |
| tree | 0c14970ec93dd12072549cece25f150c1a660d37 /src/p2p/net_node.cpp | |
| parent | b7425c14c8e7f2fda81d345829ff7e1bc0c382d3 (diff) | |
| download | monzero-core-c0c75ac19d77a542abacd27796364c6518f7ae59.tar.gz monzero-core-c0c75ac19d77a542abacd27796364c6518f7ae59.tar.xz monzero-core-c0c75ac19d77a542abacd27796364c6518f7ae59.zip | |
Fixed issues found by static analysis
- rolling_median: tried to free uninitialized pointer in a constructor
- net_node.inl: erase-remove idiom was used incorrectly. remove_if doesn't actually remove elements, see http://cpp.sh/6fcjv
- bulletproofs.cc: call to sizeof() instead of vector.size(), luckily it only impacts performance and not code logic there
Diffstat (limited to 'src/p2p/net_node.cpp')
0 files changed, 0 insertions, 0 deletions
