mirror of https://github.com/google/oss-fuzz.git
[gnupg] Updates fuzz targets for gnupg (#2576)
Adding an arugment to public_key_list
This commit is contained in:
parent
84119adfbd
commit
c58fc17c52
|
@ -110,7 +110,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
|
|||
}
|
||||
//populate /tmp/fuzzdirdecrypt/ as homedir ~/.gnupg
|
||||
strlist_t sl = NULL;
|
||||
public_key_list (ctrlGlobal, sl, 0);
|
||||
public_key_list (ctrlGlobal, sl, 0, 0);
|
||||
free_strlist(sl);
|
||||
//no output for stderr
|
||||
log_set_file("/dev/null");
|
||||
|
|
|
@ -121,7 +121,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
|
|||
}
|
||||
//populate /tmp/fuzzdirimport/ as homedir ~/.gnupg
|
||||
strlist_t sl = NULL;
|
||||
public_key_list (ctrlGlobal, sl, 0);
|
||||
public_key_list (ctrlGlobal, sl, 0, 0);
|
||||
free_strlist(sl);
|
||||
//no output for stderr
|
||||
log_set_file("/dev/null");
|
||||
|
|
|
@ -121,7 +121,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
|
|||
}
|
||||
//populate /tmp/fuzzdirlist/ as homedir ~/.gnupg
|
||||
strlist_t sl = NULL;
|
||||
public_key_list (ctrlGlobal, sl, 0);
|
||||
public_key_list (ctrlGlobal, sl, 0, 0);
|
||||
free_strlist(sl);
|
||||
//no output for stderr
|
||||
log_set_file("/dev/null");
|
||||
|
|
|
@ -110,7 +110,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
|
|||
}
|
||||
//populate /tmp/fuzzdirverify/ as homedir ~/.gnupg
|
||||
strlist_t sl = NULL;
|
||||
public_key_list (ctrlGlobal, sl, 0);
|
||||
public_key_list (ctrlGlobal, sl, 0, 0);
|
||||
free_strlist(sl);
|
||||
//no output for stderr
|
||||
log_set_file("/dev/null");
|
||||
|
|
Loading…
Reference in New Issue