blob: 1a5c8a52e500db01832d31cbea4412b4b0a48734 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// Copyright (C) 2020 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#include <QTextStream>
extern "C" int LLVMFuzzerTestOneInput(const char *Data, size_t Size) {
QTextStream qts(QByteArray::fromRawData(Data, Size));
float f;
qts >> f;
return 0;
}
|