Skip to content

Commit

Permalink
codec/h264/dpb: fix potential infinite loop
Browse files Browse the repository at this point in the history
Revealed by fuzzing.
  • Loading branch information
Gnurou committed Jul 10, 2024
1 parent 5f9142b commit 54123da
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/codec/h264/dpb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -550,6 +550,7 @@ impl<T: Clone> Dpb<T> {
num_ref_pics -= 1;
} else {
log::warn!("could not find a ShortTerm picture to unmark in the DPB");
break;
}
}

Expand Down

0 comments on commit 54123da

Please sign in to comment.