Revert "[VarData] Don't clear memory we are going to fill in completely"
This reverts commit e28e2dad03
.
This made fuzzer unhappy. I'm not sure how.
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=54044
This commit is contained in:
parent
3c497e2458
commit
22b0390e2d
|
@ -2549,7 +2549,7 @@ struct VarData
|
||||||
|
|
||||||
regionIndices.len = new_ri_count;
|
regionIndices.len = new_ri_count;
|
||||||
|
|
||||||
if (unlikely (!c->extend_size (this, get_size (), false))) return_trace (false);
|
if (unlikely (!c->extend (this))) return_trace (false);
|
||||||
|
|
||||||
for (r = 0; r < new_ri_count; r++)
|
for (r = 0; r < new_ri_count; r++)
|
||||||
regionIndices[r] = region_map[src->regionIndices[ri_map[r]]];
|
regionIndices[r] = region_map[src->regionIndices[ri_map[r]]];
|
||||||
|
|
Loading…
Reference in New Issue