omap_complete in read_result_t can be uninitialized if ECSubReadReply
contains an empty map of omap_complete information.
Fixes: https://tracker.ceph.com/issues/76953
Signed-off-by: Bill Scales <bill_scales@uk.ibm.com>
std::optional<std::map<std::string, ceph::buffer::list, std::less<>>> attrs;
std::optional<ceph::buffer::list> omap_header;
std::optional<std::map<std::string, ceph::buffer::list>> omap_entries;
- bool omap_complete;
+ bool omap_complete = false;
ECUtil::shard_extent_map_t buffers_read;
ECUtil::shard_extent_set_t processed_read_requests;
shard_id_set zero_length_reads;