mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 20:12:57 +01:00
Merge bitcoin/bitcoin#21891: fuzz: Remove strprintf test cases that are known to fail
facfc0f65dd0a7d54c0f6d56bff793e57b12ee12 fuzz: Remove strprintf test cases that are known to fail (MarcoFalke) Pull request description: They are still waiting to be fixed (see https://github.com/c42f/tinyformat/issues/70 ), so no need for us to carry them around in our source code. They can be added back once upstream is fixed. Hopefully fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=34082 ACKs for top commit: laanwj: Code review ACK facfc0f65dd0a7d54c0f6d56bff793e57b12ee12 Tree-SHA512: d9d3d35555b6d58740a041ae45797ca85149f60990e2ed632c5dadf363e1d2362d2447681d7ceaa1fbffcd6e7bc8da5bc15d3923b68829a86c25b364a599afc8
This commit is contained in:
parent
641dc6623a
commit
cfaad8450a
@ -48,67 +48,6 @@ FUZZ_TARGET(str_printf)
|
||||
//
|
||||
// Upstream bug report: https://github.com/c42f/tinyformat/issues/70
|
||||
|
||||
try {
|
||||
(void)strprintf(format_string, (signed char*)nullptr);
|
||||
(void)tinyformat::format(bilingual_string, (signed char*)nullptr);
|
||||
} catch (const tinyformat::format_error&) {
|
||||
}
|
||||
try {
|
||||
(void)strprintf(format_string, (unsigned char*)nullptr);
|
||||
(void)tinyformat::format(bilingual_string, (unsigned char*)nullptr);
|
||||
} catch (const tinyformat::format_error&) {
|
||||
}
|
||||
try {
|
||||
(void)strprintf(format_string, (void*)nullptr);
|
||||
(void)tinyformat::format(bilingual_string, (void*)nullptr);
|
||||
} catch (const tinyformat::format_error&) {
|
||||
}
|
||||
try {
|
||||
(void)strprintf(format_string, (bool*)nullptr);
|
||||
(void)tinyformat::format(bilingual_string, (bool*)nullptr);
|
||||
} catch (const tinyformat::format_error&) {
|
||||
}
|
||||
try {
|
||||
(void)strprintf(format_string, (float*)nullptr);
|
||||
(void)tinyformat::format(bilingual_string, (float*)nullptr);
|
||||
} catch (const tinyformat::format_error&) {
|
||||
}
|
||||
try {
|
||||
(void)strprintf(format_string, (double*)nullptr);
|
||||
(void)tinyformat::format(bilingual_string, (double*)nullptr);
|
||||
} catch (const tinyformat::format_error&) {
|
||||
}
|
||||
try {
|
||||
(void)strprintf(format_string, (int16_t*)nullptr);
|
||||
(void)tinyformat::format(bilingual_string, (int16_t*)nullptr);
|
||||
} catch (const tinyformat::format_error&) {
|
||||
}
|
||||
try {
|
||||
(void)strprintf(format_string, (uint16_t*)nullptr);
|
||||
(void)tinyformat::format(bilingual_string, (uint16_t*)nullptr);
|
||||
} catch (const tinyformat::format_error&) {
|
||||
}
|
||||
try {
|
||||
(void)strprintf(format_string, (int32_t*)nullptr);
|
||||
(void)tinyformat::format(bilingual_string, (int32_t*)nullptr);
|
||||
} catch (const tinyformat::format_error&) {
|
||||
}
|
||||
try {
|
||||
(void)strprintf(format_string, (uint32_t*)nullptr);
|
||||
(void)tinyformat::format(bilingual_string, (uint32_t*)nullptr);
|
||||
} catch (const tinyformat::format_error&) {
|
||||
}
|
||||
try {
|
||||
(void)strprintf(format_string, (int64_t*)nullptr);
|
||||
(void)tinyformat::format(bilingual_string, (int64_t*)nullptr);
|
||||
} catch (const tinyformat::format_error&) {
|
||||
}
|
||||
try {
|
||||
(void)strprintf(format_string, (uint64_t*)nullptr);
|
||||
(void)tinyformat::format(bilingual_string, (uint64_t*)nullptr);
|
||||
} catch (const tinyformat::format_error&) {
|
||||
}
|
||||
|
||||
try {
|
||||
CallOneOf(
|
||||
fuzzed_data_provider,
|
||||
|
Loading…
Reference in New Issue
Block a user