Open agroce opened 4 years ago
Note this is REALLY rare:
CRITICAL: TestCBlosc2.cpp(100): do shuffle = 0 but set to 1
ERROR: Failed: CBlosc2_RoundTrip
INFO: Done fuzzing! Ran 195077 tests (3251 tests/second) with 459 failed/194618 passed/0 abandoned tests
The test above is fully reduced.
This does not go away once I restrict type_size to max 255
Yeah, here the issue is due to the fact that when typesize
is 1, the shuffle is doing nothing, so I decided to silently switch off the filter internally. But again, this makes the API unconsistent as you have shown. Probably what we can do is to just check internally that if typesize
is 1, just do not call the shuffle filter, but still keep the shuffle flag active. Thanks!
Great! Is there any functionality other than what's in this harness you'd really like to see fuzzed? I started from https://github.com/Blosc/c-blosc2/blob/master/tests/test_compress_roundtrip.c and called any obviously core API elements I could think of and check something about.
DOSHUFFLE metainfo bit seems wrong: