diff options
author | Sebastian Falbesoner <sebastian.falbesoner@gmail.com> | 2020-10-22 03:05:11 +0200 |
---|---|---|
committer | Sebastian Falbesoner <sebastian.falbesoner@gmail.com> | 2020-10-22 03:39:55 +0200 |
commit | 56a461f72796ca60de28e78f144741eb1a4f5213 (patch) | |
tree | e22562f010dbc8f0846187e4ef9447f7ec68d9d8 /.gitignore | |
parent | dda18e7310a202a8aa46c95279446131659f91c5 (diff) |
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 '.gitignore')
0 files changed, 0 insertions, 0 deletions