summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Rühsen <tim.ruehsen@gmx.de>2017-08-21 15:19:25 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2017-08-24 16:39:21 +0200
commit3fa174ce6bfcfbc9ffd11ce4aa709d461550dbe6 (patch)
treefbf45076de1ce0efac5a248961a5fa81440f34e2
parent2ccf497e918cf1d78e8cd650e4554b5551c902e2 (diff)
downloadgnutls-3fa174ce6bfcfbc9ffd11ce4aa709d461550dbe6.tar.gz
fuzzer: Enhance code coverage of gnutls_base64_encoder_fuzzer
Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
-rw-r--r--fuzz/gnutls_base64_encoder_fuzzer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fuzz/gnutls_base64_encoder_fuzzer.c b/fuzz/gnutls_base64_encoder_fuzzer.c
index b533d3cd33..ef9f41ecff 100644
--- a/fuzz/gnutls_base64_encoder_fuzzer.c
+++ b/fuzz/gnutls_base64_encoder_fuzzer.c
@@ -33,7 +33,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
if (ret >= 0)
gnutls_free(out.data);
- gnutls_pem_base64_encode(NULL, &raw, result, &result_size);
+ gnutls_pem_base64_encode("x", &raw, result, &result_size);
ret = gnutls_base64_encode2(&raw, &out);
if (ret >= 0)