Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
malloc --> calloc in H5B cache entry (#5053)
oss-fuzz occasionally complains about intermittent undefined behavior when when Boolean variables in H5C_cache_entry_t (like is_protected) are set to values other than 0 or 1 when parsing fuzzed files. Using calloc() to iniitialize the H5B_t struct (like other metadata already does) should fix this.
- Loading branch information