znort987 / blockparser

Simple C++ bitcoin blockchain parser
539 stars 317 forks source link

fixed from PVS-Studio #71

Open ip-gpu opened 6 years ago

ip-gpu commented 6 years ago

I'm a member of the Pinguem.ru competition on finding errors in open source projects. A bug, found using PVS-Studio. Warnings:

V769 The 'pool' pointer in the 'kPageByteSize + pool' expression could be nullptr. In such case, resulting value will be senseless and it should not be used. Check lines: 79, 78. util.h 79