mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-22 00:47:28 +01:00
Clip std/gif replicated rows to the frame rect
Updates https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=17802
This commit is contained in:
1 parent
aaebb17a01
commit
9089d37578
3 files changed
+5
-3
No files matched your search
@@ -11183,6 +11183,8 @@ label_0_continue:;
|
||||
self->private_impl.f_dst_y,
|
||||
((uint32_t)(
|
||||
wuffs_gif__interlace_count[self->private_impl.f_interlace])));
|
||||
v_replicate_y1 = wuffs_base__u32__min(
|
||||
v_replicate_y1, self->private_impl.f_frame_rect_y1);
|
||||
while (v_replicate_y0 < v_replicate_y1) {
|
||||
v_replicate_dst = wuffs_base__table_u8__row(v_tab, v_replicate_y0);
|
||||
wuffs_base__slice_u8__copy_from_slice(v_replicate_dst,
|
||||
|
||||
Reference in new issue
Block a user