kernel/lib/test_fortify/write_overflow-strncpy.c
orangepi-xunlong e91aa6bfb2 Linux 6.1.31
2023-06-05 11:19:37 +08:00

6 lines
143 B
C

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