Skip to content

Fix and add test case for 4:2:2 fuzzing failure - #2537

Merged
barrbrain merged 1 commit into
xiph:masterfrom
barrbrain:fuzz-fail
Sep 12, 2020
Merged

barrbrain merged 1 commit into
xiph:masterfrom
barrbrain:fuzz-fail

Conversation

@barrbrain

Copy link
Copy Markdown
Collaborator
running 1 test
Overrun in OBU bit buffer into next OBU
test test_encode_decode::fuzz_422_77x17_tile_cols_2_dav1d ... FAILED

failures:

---- test_encode_decode::fuzz_422_77x17_tile_cols_2_dav1d stdout ----
thread 'test_encode_decode::fuzz_422_77x17_tile_cols_2_dav1d' panicked at 'assertion failed: `(left == right)`

Diff < left / right > :
<1
>0

', src/test_encode_decode/mod.rs:144:7

@coveralls

coveralls commented Sep 11, 2020 •

Copy link
Copy Markdown
Collaborator

Coverage Status

Coverage decreased (-0.4%) to 80.281% when pulling 92074b3 on barrbrain:fuzz-fail into 62c2066 on xiph:master.

@barrbrain
barrbrain force-pushed the fuzz-fail branch 2 times, most recently from f4b43cc to 0b9383c Compare September 11, 2020 20:36
@barrbrain barrbrain changed the title Add test case for 4:2:2 fuzzing failure Fix and add test case for 4:2:2 fuzzing failure Sep 11, 2020
@barrbrain
barrbrain marked this pull request as ready for review September 11, 2020 20:40

@lu-zero lu-zero left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thank you :)

@barrbrain
barrbrain force-pushed the fuzz-fail branch 2 times, most recently from 4478d3b to a25c630 Compare September 12, 2020 14:50
The column width is adjusted for 4:2:2 content, which in certain
cases results in an actual column count that could be represented
by uniform tiling.

@barrbrain barrbrain left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[00:35] <derf> Yeah, I mean, I am okay with this patch landing as-is.

@barrbrain
barrbrain merged commit 92074b3 into xiph:master Sep 12, 2020
@barrbrain
barrbrain deleted the fuzz-fail branch September 12, 2020 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants