parseLedgerHashes accepts negative int then throws on asUInt conversion
#6768 · C++ · ★ 5.2k · ISC · updated 3mo ago
parseLedgerHashes accepts negative int then throws on asUInt conversion Severity: LOW In parseLedgerHashes (LedgerEntry.cpp:448-451), the code checks params.isUInt() || params.isInt() then calls params.asUInt(). If the hashes field is a negative integer, isInt() is true but…
2/3 outside PRs mergedpoints at a filehas CONTRIBUTING
Cleared 3m ago