aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy.c
blob: b85f079c815dd710d411646b43f0f34d1cf2b0ad (plain)
1
2
3
4
5
// SPDX-License-Identifier: GPL-2.0-only
#define TEST	\
	strncpy(instance.buf, large_src, sizeof(instance.buf) + 1)

#include "test_fortify.h"