FreeRDP
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
Functions
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
Functions
a
c
d
e
f
g
i
o
r
s
t
Variables
a
b
c
d
e
g
i
l
m
n
o
p
r
s
t
u
v
Files
File List
Globals
All
Typedefs
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Modules
Pages
Loading...
Searching...
No Matches
TestFuzzCommonAssistanceHexStringToBin.c
1
#include <freerdp/assistance.h>
2
3
int
LLVMFuzzerTestOneInput(
const
uint8_t* Data,
size_t
Size)
4
{
5
char
* buf = calloc(Size + 1,
sizeof
(
char
));
6
if
(buf == NULL)
7
return
0;
8
memcpy(buf, Data, Size);
9
buf[Size] =
'\0'
;
10
11
BYTE* pass = freerdp_assistance_hex_string_to_bin((
void
*)buf, &Size);
12
free(pass);
13
free(buf);
14
15
return
0;
16
}
libfreerdp
common
test
TestFuzzCommonAssistanceHexStringToBin.c
Generated by
1.9.8