}
char *b = buf;
- if (b)
+ if (b) {
+ // FIPS zeroization audit 20191116: this memset is not security related.
memset(b, 0, len);
+ }
int needed = 0;
std::list<std::pair<int64_t, std::string> >::const_iterator i = pools.begin();
std::list<std::pair<int64_t, std::string> >::const_iterator p_end =
}
char *b = buf;
- if (b)
+ if (b) {
+ // FIPS zeroization audit 20191116: this memset is not security related.
memset(b, 0, len);
+ }
int needed = 0;
for (const auto& s : pgs) {
unsigned rl = s.length() + 1;
librados::IoCtxImpl *ctx = (librados::IoCtxImpl *)io;
// Zero out items so that they will be safe to free later
+ // FIPS zeroization audit 20191116: this memset is not security related.
memset(result_items, 0, sizeof(rados_object_list_item) * result_item_count);
std::list<librados::ListObjectImpl> result;