mirror of https://github.com/xiph/flac
Hide unreproducible bug that is probably harmless
Issue https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=56395 remains unreproducible to me, and the whole problem doesn't seem to make any sense. Even downloading the affected build and running it locally doesn't reproduce the problem. As this is probably a harmless bug (if it is a bug) that is triggered by an assert but is handled anyway, I'm hiding the assert so the handling is fuzzed when the assert is removed, as in production code.
This commit is contained in:
parent
c7861aa846
commit
763e185671
|
@ -1520,7 +1520,9 @@ FLAC__bool EncoderSession_construct(EncoderSession *e, encode_options_t options,
|
|||
e->fmt.flac.client_data.fatal_error = false;
|
||||
break;
|
||||
default:
|
||||
#ifndef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
|
||||
FLAC__ASSERT(0);
|
||||
#endif
|
||||
/* double protection */
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue