This diff removes a call in rcu_tests which triggers the null pointer
dereference check from UBSAN. gptr internal pointer is initialized to
nullptr and called with the * operator.
This does not impact the test coverage as the operator is tested later
in the test case.
Details
Details
- Reviewers
deadalnix - Group Reviewers
Restricted Project - Commits
- rSTAGINGbc4487b9f1ef: Fix undefined behavior in rcu_tests
rABCbc4487b9f1ef: Fix undefined behavior in rcu_tests
../configure --enable-debug --with-sanitizers=undefined make ./src/test/test_bitcoin -t rcu_tests
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Lint
Lint Not Applicable - Unit
Tests Not Applicable