blob: 176ebc38e1fd086a1ad8acc53f3c177eb68846ba [file] [log] [blame]
// Copyright 2019 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <string>
#include <cstddef>
#include <cstdint>
#include "modp_b64.h"
extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
// Create a buffer to store the output.
std::string buffer;
modp_b64_decode(&(buffer[0]), (const char *) data, size);
return 0;