From 1b67d25efb8851361c25db5b1dd641a4027a9271 Mon Sep 17 00:00:00 2001 From: Chris Fallin Date: Fri, 24 Dec 2021 22:17:51 -0800 Subject: [PATCH] fuzzbug fix --- src/backend/locations.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend/locations.rs b/src/backend/locations.rs index a50358e..6d332dc 100644 --- a/src/backend/locations.rs +++ b/src/backend/locations.rs @@ -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 {