[repacker] bail on failure to alloc assigned_bytes set.

Fixes fuzzer issue https://oss-fuzz.com/testcase-detail/5390364397928448.
pull/3921/head
Garret Rieger 2 years ago committed by Behdad Esfahbod
parent 239a5aca02
commit f1d3489388
  1. 3
      src/graph/graph.hh
  2. BIN
      test/fuzzing/graphs/clusterfuzz-testcase-minimized-hb-repacker-fuzzer-5390364397928448

@ -89,7 +89,8 @@ struct graph_t
assigned_bytes.add_range (start, end);
}
return true;
return !assigned_bytes.in_error ();
}
void normalize ()

Loading…
Cancel
Save