diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-05-28 16:06:53 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-05-28 16:28:46 +0200 |
commit | 14a4b4966361969badfa3b977753a37760b8eb8a (patch) | |
tree | c82b60068977deb39c8d6621dbdbb178e8957d06 /src/qt/bitcoinamountfield.cpp | |
parent | fb7731089ed2c77591b709420477e457fa39a237 (diff) | |
parent | fa9da85b7cc759d06bc24854be2bad0ea87b6006 (diff) | |
download | bitcoin-14a4b4966361969badfa3b977753a37760b8eb8a.tar.xz |
Merge #13300: qa: Initialize lockstack to prevent null pointer deref
fa9da85b7cc759d06bc24854be2bad0ea87b6006 qa: Initialize lockstack to prevent null pointer deref (MarcoFalke)
Pull request description:
It is currently impossible to call debug methods such as `AssertLock(Not)Held` on a thread without running into undefined behavior, unless a lock was pushed on the stack in this thread.
Initializing the global `lockstack` seems to fix both issues.
Tree-SHA512: 8cb76b22cb31887ddf15742fdc790f01e8f04ed837367d0fd4996535748d124342e8bfde68952b903847b96ad33406c64907a53ebab9646f78d97fa4365c3061
Diffstat (limited to 'src/qt/bitcoinamountfield.cpp')
0 files changed, 0 insertions, 0 deletions