mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-23 09:26:36 +02:00
21 lines
257 B
C++
21 lines
257 B
C++
|
|
|
|
#include <stdint.h>
|
|
#include <stddef.h>
|
|
|
|
#include <LeaseSet.h>
|
|
|
|
#include "fuzzing.h"
|
|
|
|
|
|
bool
|
|
fuzzing_testinput(const uint8_t * data, size_t size)
|
|
{
|
|
i2p::data::LeaseSet * ls;
|
|
|
|
|
|
ls = new i2p::data::LeaseSet(data, size, false);
|
|
delete ls;
|
|
|
|
return true;
|
|
}
|