mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 11:58:13 +00:00

We have a new, improved string type coming up in AK (OOM aware, no null state), and while it's going to use UTF-8, the name UTF8String is a mouthful - so let's free up the String name by renaming the existing class. Making the old one have an annoying name will hopefully also help with quick adoption :^)
16 lines
451 B
C++
16 lines
451 B
C++
/*
|
|
* Copyright (c) 2021, Luke Wilde <lukew@serenityos.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#include <AK/DeprecatedString.h>
|
|
#include <AK/StringView.h>
|
|
#include <LibIMAP/QuotedPrintable.h>
|
|
|
|
extern "C" int LLVMFuzzerTestOneInput(uint8_t const* data, size_t size)
|
|
{
|
|
auto quoted_printable_string = StringView(static_cast<unsigned char const*>(data), size);
|
|
IMAP::decode_quoted_printable(quoted_printable_string);
|
|
return 0;
|
|
}
|