fixes oss-fuzz 19978: Null-dereference READ (#2091)
This commit is contained in:
parent
5e55a6d691
commit
d2ab1ec65b
|
@ -185,6 +185,7 @@ struct index_map_subset_plan_t
|
||||||
unsigned int inner = v & 0xFFFF;
|
unsigned int inner = v & 0xFFFF;
|
||||||
outer_map.add (outer);
|
outer_map.add (outer);
|
||||||
if (inner > max_inners[outer]) max_inners[outer] = inner;
|
if (inner > max_inners[outer]) max_inners[outer] = inner;
|
||||||
|
if (outer >= inner_sets.length) return;
|
||||||
inner_sets[outer]->add (inner);
|
inner_sets[outer]->add (inner);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue