1 /* SPDX-License-Identifier: LGPL-2.1-or-later */
3 #include "alloc-util.h"
6 #include "nspawn-settings.h"
8 int LLVMFuzzerTestOneInput(const uint8_t *data
, size_t size
) {
9 _cleanup_fclose_
FILE *f
= NULL
;
10 _cleanup_(settings_freep
) Settings
*s
= NULL
;
12 if (outside_size_range(size
, 0, 65536))
15 f
= data_to_file(data
, size
);
20 (void) settings_load(f
, "/dev/null", &s
);