blob: 35df4a9ce326ac351ea25a7de6995714e77f1d2a [file] [log] [blame]
#include <cstdint>
#include <vector>
extern "C" int LLVMFuzzerTestOneInput(const std::uint8_t *data, size_t size) {
std::vector<uint8_t> v;
// Intentionally throw std::length_error
v.reserve(static_cast<uint64_t>(-1));
return 0;
}