Files
glibc/string
Adhemerval Zanella Netto 85ac7edcdf string: Fix bug-strncat1 with fortify enabled
If fortify is enabled, the truncated output warning is issued by
the wrapper itself:

bug-strncat1.c: In function ‘main’:
bug-strncat1.c:14:3: error: ‘__builtin___strncat_chk’ output truncated
copying 1 byte from a string of length 2 [-Werror=stringop-truncation]
   14 |   strncat (d, "\5\6", 1);
      |   ^

Checked on x86_64-linux-gnu.
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
2023-07-24 15:26:17 -03:00
..
2021-09-03 22:06:44 +05:30
2021-09-03 22:06:44 +05:30
2023-07-05 16:59:48 +02:00
2023-02-06 16:19:35 -03:00
2023-02-06 16:19:35 -03:00
2023-02-06 16:19:35 -03:00
2023-02-06 16:19:35 -03:00
2023-02-06 16:19:35 -03:00
2023-02-06 16:19:35 -03:00
2023-02-06 16:19:35 -03:00