mirror of https://github.com/PurpleI2P/i2pd.git
I2P: End-to-End encrypted and anonymous Internet
https://i2pd.website/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
263 B
22 lines
263 B
1 year ago
|
|
||
|
|
||
|
#include <stdint.h>
|
||
|
#include <stddef.h>
|
||
|
|
||
|
#include <Identity.h>
|
||
|
|
||
|
#include "fuzzing.h"
|
||
|
|
||
|
|
||
|
bool
|
||
|
fuzzing_testinput(const uint8_t * data, size_t size)
|
||
|
{
|
||
|
i2p::data::IdentityEx * ident;
|
||
|
|
||
|
|
||
|
ident = new i2p::data::IdentityEx(data, size);
|
||
|
delete ident;
|
||
|
|
||
|
return true;
|
||
|
}
|