Closed pavel-pimenov closed 1 year ago
V522 [CWE-476] Dereferencing of the null pointer 'block' might take place. string.cpp 267
https://github.com/ClickHouse/clickhouse-cpp/blob/85dae8e9d971d997242735498d124a11f538d8fe/clickhouse/columns/string.cpp#L267
That is a false positive, block can be nullptr only if blocks_.size() == 0.
block
nullptr
blocks_.size() == 0
V522 [CWE-476] Dereferencing of the null pointer 'block' might take place. string.cpp 267
https://github.com/ClickHouse/clickhouse-cpp/blob/85dae8e9d971d997242735498d124a11f538d8fe/clickhouse/columns/string.cpp#L267