fuzzbug fix

This commit is contained in:
Chris Fallin 2021-12-24 22:17:51 -08:00
parent 5031befe3b
commit 1b67d25efb

View file

@ -164,12 +164,12 @@ impl<'a> Allocator<'a> {
end_idx += 1;
self.handle_end(&span);
} else {
let span = self.ends[start_idx];
let span = self.starts[start_idx];
start_idx += 1;
self.handle_start(&span);
}
} else if start_idx < self.starts.len() {
let span = self.ends[start_idx];
let span = self.starts[start_idx];
start_idx += 1;
self.handle_start(&span);
} else {