summaryrefslogtreecommitdiffstats
path: root/src/lib-imap/fuzz-imap-utf7.c
blob: 2a561f123568f7470ffca9160c6827ebc1fae3b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* Copyright (c) 2020 Dovecot authors, see the included COPYING file */

#include "lib.h"
#include "str.h"
#include "fuzzer.h"
#include "imap-utf7.h"

FUZZ_BEGIN_STR(const char *str)
{
	string_t *dest = t_str_new(32);

	imap_utf8_to_utf7(str, dest);
	imap_utf7_to_utf8(str, dest);
}
FUZZ_END