https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89644
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2019-03-11
Ever confirmed|0 |1
Known to fail| |8.3.0, 9.0
--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
Confirmed. Looks like a bug in handle_builtin_stxncpy which doesn't take the
strncpy bound into consideration when computing the number of characters the
function writes.