aboutsummaryrefslogtreecommitdiff
path: root/src/qt
diff options
context:
space:
mode:
authorSebastian Falbesoner <sebastian.falbesoner@gmail.com>2020-10-22 03:05:11 +0200
committerSebastian Falbesoner <sebastian.falbesoner@gmail.com>2020-10-22 03:39:55 +0200
commit56a461f72796ca60de28e78f144741eb1a4f5213 (patch)
treee22562f010dbc8f0846187e4ef9447f7ec68d9d8 /src/qt
parentdda18e7310a202a8aa46c95279446131659f91c5 (diff)
downloadbitcoin-56a461f72796ca60de28e78f144741eb1a4f5213.tar.xz
wallet: fix buffer over-read in SQLite file magic check
If there is no terminating zero within the 16 magic bytes, the buffer would be over-read in the std::string constructor. Fixed by using the "from buffer" variant of the ctor (that also takes a size) rather than the "from c-string" variant.
Diffstat (limited to 'src/qt')
0 files changed, 0 insertions, 0 deletions