write_overflow-strncpy.c 143 B

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