mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2025-01-12 21:21:05 +00:00
3a65d2e743
Values <= 0 lead to failed assertions in libEBML later as the video pixel dimension elements aren't set. Those values don't make sense anyway. Found by fuzzying.
15 lines
341 B
Ruby
Executable File
15 lines
341 B
Ruby
Executable File
#!/usr/bin/ruby -w
|
|
|
|
# T_710fuzzying
|
|
describe "mkvmerge / issues found by fuzzying"
|
|
|
|
Dir["data/segfaults-assertions/fuzzying/0001-ac3/**/id*"].each do |file|
|
|
exit_code = file.gsub(%r{.*/([012])/.*}, '\1').to_i
|
|
|
|
if exit_code < 2
|
|
test_merge file, :exit_code => exit_code
|
|
else
|
|
test_identify file, :exit_code => exit_code
|
|
end
|
|
end
|