OpenCloudOS-Kernel/lib/test_fortify/write_overflow-strlcpy.c

6 lines
143 B
C

// SPDX-License-Identifier: GPL-2.0-only
#define TEST \
strlcpy(instance.buf, large_src, sizeof(instance.buf) + 1)
#include "test_fortify.h"