write_overflow-strlcpy.c (143B)
1// SPDX-License-Identifier: GPL-2.0-only 2#define TEST \ 3 strlcpy(instance.buf, large_src, sizeof(instance.buf) + 1) 4 5#include "test_fortify.h"