Error 1:
Uninitialized pointer read
Incorrect values could be read from, or even written to, an arbitrary memory location, causing incorrect computations. Reads an uninitialized pointer or its target
/test/cppsuite/test_harness/workload/workload_validation.h:279: UNINIT 120246 Declaring variable "cursor" without initializer.
/test/cppsuite/test_harness/workload/workload_validation.h:283: UNINIT 120246 Using uninitialized value "cursor".
EDIT: Set as False Positive on Coverity, see comments for more details.
Error 2:
Parse warning
variable "expected_collection_id" was declared but never referenced
Error 3:
Parse warning
variable "collection_counter" was declared but never referenced
Error 4:
Field not initialized
The compiler-generated constructor for this class does not initialize exist (struct key_state)
Error 5:
Using invalid iterator
Dereferencing iterator it though it is already past the end of its container.
Error 6:
Parse warning
class "collection_cursor" defines no constructor to initialize the following reference member "collection_cursor::coll"
Error 7:
Indentation does not match nesting level
This 'if' statement is indented to column 17, as if it were nested within the preceding parent statement, but it is not.
Error 8:
Dereference null return value
If the function actually returns a null value, a null pointer dereference will occur.
In test_harness::get_time(char *, unsigned long): Return value of function which returns null is dereferenced without checking (CWE-476)
Error 9:
Parse warning
variable "tsp" was declared but never referenced