https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107568
--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Except sprintf is 100% when used correctly. And snprintf requires just as much audit as sprintf does really. Many people have written about this before where using snprint just gives a false sense of security even.