Skip to content

Commit

Permalink
needed
Browse files Browse the repository at this point in the history
  • Loading branch information
domenukk committed Nov 7, 2024
1 parent 2f80bb1 commit 4f6a2f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libafl_libfuzzer/runtime/src/corpus.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,10 @@ where
Ok(())
}
#[inline]
fn _get(
fn _get<'a>(
&'a self,
id: CorpusId,
corpus: &TestcaseStorageMap<I>,
corpus: &'a TestcaseStorageMap<I>,
) -> Result<&RefCell<Testcase<I>>, Error> {
self.touch(id, corpus)?;
corpus.map.get(&id).map(|item| &item.testcase).ok_or_else(|| Error::illegal_state("Nonexistent corpus entry {id} requested (present in loaded entries, but not the mapping?)"))
Expand Down

0 comments on commit 4f6a2f0

Please sign in to comment.