diff options
author | MarcoFalke <falke.marco@gmail.com> | 2018-11-05 14:49:38 -0500 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2018-11-05 14:49:44 -0500 |
commit | 1ba5583646e3a64ebae4fcda3c498292998a6d5d (patch) | |
tree | e4fc95848304756edb58461ac2d60213448a92fd /src/timedata.cpp | |
parent | 9c3f6c5fad27b4516f0c144880f4c6c27faf835e (diff) | |
parent | 9f49db7335cbcd9d3c726d965604ff3316bc38e5 (diff) |
Merge #14252: build: Run functional tests and benchmarks under the undefined behaviour sanitizer (UBSan)
9f49db7335 Enable functional tests in UBSAN job. Enable -fsanitize=integer (part of UBSAN). Merge UBSAN Travis job with no depends. (practicalswift)
Pull request description:
Run functional tests and benchmarks under the undefined behaviour sanitizer (UBSan).
This will make Travis automatically detect issues such as:
* #14242: Avoid triggering undefined behaviour (`std::memset(nullptr, 0, 0)`) if an invalid string is passed to `DecodeSecret(...)`
* #14239: Avoid dividing by zero (undefined behaviour) in `EstimateMedianVal` (policy)/`ConnectTip` (validation)/`CreateTransaction` (wallet)
* #13546: wallet: Avoid potential use of uninitialized value `bnb_used` in `CWallet::CreateTransaction(...)`
Addresses issue #14059.
Tree-SHA512: 285e1542b36c582516c47938ce8d999fd89ba6c867bc0976e7306e7c949b8b84ffbfa43dbc679dd97ae639b086092e7d799d8e1c903c66a37d529ce61d5c64b4
Diffstat (limited to 'src/timedata.cpp')
0 files changed, 0 insertions, 0 deletions