6fa5be7ecb
Change-Id: I5b714bddd6edc90ef0c8efdad42d5f78f3d74886 Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
15 lines
351 B
C++
15 lines
351 B
C++
#include <iostream>
|
|
|
|
#include "config.h"
|
|
|
|
#include <net/HttpRequest.hpp>
|
|
|
|
extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size)
|
|
{
|
|
http::Response response;
|
|
for (size_t i = 0; i < size; ++i)
|
|
response.readData(reinterpret_cast<const char*>(data), i);
|
|
return 0;
|
|
}
|
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|