Skip to content

Commit

Permalink
update fuzzer to new stride type
Browse files Browse the repository at this point in the history
  • Loading branch information
farindk committed Feb 28, 2025
1 parent a091fb9 commit 0105d31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fuzzing/color_conversion_fuzzer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ static bool read_plane(BitstreamRange* range,
if (auto err = image->add_plane(channel, width, height, bit_depth, heif_get_disabled_security_limits())) {
return false;
}
uint32_t stride;
size_t stride;
uint8_t* plane = image->get_plane(channel, &stride);
assert(stride >= width);
auto stream = range->get_istream();
Expand All @@ -99,7 +99,7 @@ static bool read_plane_interleaved(BitstreamRange* range,
if (auto err = image->add_plane(channel, width, height, bit_depth, heif_get_disabled_security_limits())) {
return false;
}
uint32_t stride;
size_t stride;
uint8_t* plane = image->get_plane(channel, &stride);
assert(stride >= width * comps);
auto stream = range->get_istream();
Expand Down

0 comments on commit 0105d31

Please sign in to comment.