BRANCH: master
COMMIT: 6696b4635ceb9b47aaa63244bff9032fa7b08354
ISSUE COUNT: 13
EXCLUDED: src/bench, src/test, src/qt
DISCLAIMER: These results have not been thoroughly confirmed, and may be improbable or flat out invalid, but it's worth having a list of these somewhere.
==============================================
SEMANTIC ISSUES [2 present, 0 confirmed]:
- src/init.cpp:1524:58: Variable
nStartmay be uninitialized when used here - src/rpc/server.cpp:496:29: Code will never be executed
LOGIC ERROR [6 present, 0 confirmed, 1 fixed]:
- src/rpc/mining.cpp:551:20: Access to field
nNonceresults in a dereference of a null pointer (loaded from variablepblock) - src/wallet/rpcdump.cpp:506:5: Access to field
nHeightresults in a dereference of a null pointer (loaded from variablepindex): 1 src/wallet/rpcdump.cpp:429:9: AssumingfPruneModeis 0 2 src/wallet/rpcdump.cpp:449:12: Loop body executed 0 times 3 src/wallet/rpcdump.cpp:499:27: CallingCChain::Tip4 src/chain.h:429:5: Entered call fromimportwallet5 src/wallet/rpcdump.cpp:499:27: Returning fromCChain::Tip6 src/wallet/rpcdump.cpp:499:5:pindexinitialized here 7 src/wallet/rpcdump.cpp:500:12: Assuming pointer value is null 8 src/wallet/rpcdump.cpp:506:5: Access to fieldnHeightresults in a dereference of a null pointer (loaded from variablepindex) - #9549 fixes ~~~src/net_processing.cpp:341:14: Dereference of null pointer (loaded from variable
pit)~~~ 1 src/net_processing.cpp:2265:21: Passing null pointer value via 5th parameterpitin call toMarkBlockAsInFlight2 src/net_processing.cpp:334:1: Entered call fromProcessMessage3 src/net_processing.cpp:341:14: Dereference of null pointer (loaded from variablepit) - src/wallet/wallet.cpp:502:14: Called C++ object pointer is null
- if
forloop on line 486 loops zero times, or - if for all loops,
n >= nMinOrderPos(Will add path details if desired, but it's long.)
- if
- src/wallet/wallet.cpp:2335:49: Division by zero
- A path going from src/wallet/wallet.cpp:2252:5
wherenSubtractFeeFromAmount` is initialized to 0 leads to a division by zero. (Will add path details if desired, but it's long.)
- A path going from src/wallet/wallet.cpp:2252:5
- src/rpc/blockchain.cpp:1145:50: Access to field
nHeightresults in a dereference of a null pointer (loaded from variableblock) 1 src/rpc/blockchain.cpp:1119:49: AssumingpindexBestHeaderis null 2 src/rpc/blockchain.cpp:1139:9: AssumingfPruneModeis not equal to 0 3 src/rpc/blockchain.cpp:1141:30: CallingCChain::Tip4 src/chain.h:429:5: Entered call fromgetblockchaininfo5 src/rpc/blockchain.cpp:1141:30: Returning fromCChain::Tip6 src/rpc/blockchain.cpp:1141:9:blockinitialized here 7 src/rpc/blockchain.cpp:1142:16: Assuming pointer value is null 8 src/rpc/blockchain.cpp:1145:50: Access to fieldnHeightresults in a dereference of a null pointer (loaded from variableblock)
DEAD STORE [4 present, 0 confirmed, 1 fixed]:
- #9532 fixes: ~~~src/addrman.cpp:61:9: Value stored to
nSinceLastSeenis never read~~~ - src/pubkey.cpp:129:5: Value stored to
posis never read - src/policy/fees.cpp:103:18: Value stored to
curFarBucketduring its initialization is never read - src/wallet/wallet.cpp:3564:18: Value stored to
pindexRescanduring its initialization is never read
MEMORY ERROR [1 present, 0 confirmed]:
- src/httpserver.cpp:609:15: Potential leak of memory pointed to by
ev1 src/httpserver.cpp:258:9: CallingHTTPRequest::WriteReply2 src/httpserver.cpp:599:1: Entered call fromhttp_request_cb3 src/httpserver.cpp:604:5: Assumingevbis non-null 4 src/httpserver.cpp:606:21: Memory is allocated 5 src/httpserver.cpp:609:15: Potential leak of memory pointed to byev